Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004244/0.004244, allocations: 229.7 kB / 15.82 MB, free: 6.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001182/0.001182, allocations: 174.3 kB / 16.7 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.456/3.456, allocations: 389.1 MB / 406.5 MB, free: 6.895 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.402/4.402, allocations: 472.3 MB / 0.9024 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005347/0.0005348, allocations: 12 kB / 1.008 GB, free: 6.734 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.275, allocations: 98.7 MB / 1.105 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.738/2.013, allocations: 386.2 MB / 1.482 GB, free: 230.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/2.014, allocations: 102.5 kB / 1.482 GB, free: 230.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9874/3.001, allocations: 289.3 MB / 1.764 GB, free: 6.383 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.776e-06/3.001, allocations: 4 kB / 1.764 GB, free: 6.379 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.783e-05/3.001, allocations: 35.92 kB / 1.764 GB, free: 6.344 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003562/3.005, allocations: 1.373 MB / 1.766 GB, free: 4.91 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/3.005, allocations: 12.03 kB / 1.766 GB, free: 4.898 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/3.005, allocations: 119.7 kB / 1.766 GB, free: 4.785 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/3.007, allocations: 0.6601 MB / 1.767 GB, free: 4.086 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.538e-05/3.007, allocations: 53.25 kB / 1.767 GB, free: 4.035 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/3.007, allocations: 60 kB / 1.767 GB, free: 3.977 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/3.009, allocations: 0.6601 MB / 1.767 GB, free: 3.281 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/3.009, allocations: 0 / 1.767 GB, free: 3.281 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/3.009, allocations: 27.98 kB / 1.767 GB, free: 3.254 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/3.009, allocations: 16 kB / 1.767 GB, free: 3.238 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001206/3.01, allocations: 448 kB / 1.768 GB, free: 2.801 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005316/3.016, allocations: 2.392 MB / 1.77 GB, free: 288 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5737/3.589, allocations: 378.7 kB / 1.77 GB, free: 185.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/3.59, allocations: 190.9 kB / 1.771 GB, free: 185.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/3.59, allocations: 344.9 kB / 1.771 GB, free: 185 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000835/3.591, allocations: 344.7 kB / 1.771 GB, free: 184.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=35): time 4.118e-06/3.591, allocations: 0.7812 kB / 1.771 GB, free: 184.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=35): time 0.002407/3.594, allocations: 0.6949 MB / 1.772 GB, free: 184.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/3.594, allocations: 249.9 kB / 1.772 GB, free: 184.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/3.595, allocations: 0.8138 MB / 1.773 GB, free: 184.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001759/3.596, allocations: 41.33 kB / 1.773 GB, free: 184.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/3.596, allocations: 434.9 kB / 1.773 GB, free: 184.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/3.596, allocations: 116.1 kB / 1.774 GB, free: 184.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/3.596, allocations: 14 kB / 1.774 GB, free: 184.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001087/3.596, allocations: 333.2 kB / 1.774 GB, free: 183.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/3.597, allocations: 212.6 kB / 1.774 GB, free: 183.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008263/3.598, allocations: 400.2 kB / 1.775 GB, free: 183.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/3.599, allocations: 278.2 kB / 1.775 GB, free: 183.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/3.599, allocations: 0 / 1.775 GB, free: 183.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0021/3.601, allocations: 0.7052 MB / 1.775 GB, free: 183.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/3.601, allocations: 194 kB / 1.776 GB, free: 183.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/3.601, allocations: 3.875 kB / 1.776 GB, free: 183.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/3.601, allocations: 3.969 kB / 1.776 GB, free: 183.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/3.603, allocations: 178.6 kB / 1.776 GB, free: 183.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/3.604, allocations: 1.773 MB / 1.778 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/3.605, allocations: 132.3 kB / 1.778 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/3.606, allocations: 32.47 kB / 1.778 GB, free: 181.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/3.606, allocations: 7.156 kB / 1.778 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001798/3.607, allocations: 0.6118 MB / 1.778 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/3.607, allocations: 3.719 kB / 1.778 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/3.607, allocations: 7.766 kB / 1.778 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/3.608, allocations: 128.2 kB / 1.778 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/3.608, allocations: 9.828 kB / 1.778 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/3.61, allocations: 119 kB / 1.779 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.466e-05/3.61, allocations: 37.66 kB / 1.779 GB, free: 181.5 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,ySet.a,ySet.b,ySet.last,$PRE.ySet.nextEvent,ySet.nextEvent,ySet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006395/3.611, allocations: 340.8 kB / 1.779 GB, free: 181.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/3.611, allocations: 88.12 kB / 1.779 GB, free: 181.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/3.613, allocations: 0.6146 MB / 1.78 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/3.613, allocations: 3.688 kB / 1.78 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/3.613, allocations: 1.688 kB / 1.78 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/3.613, allocations: 2.812 kB / 1.78 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/3.616, allocations: 1.265 MB / 1.781 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/3.616, allocations: 6.547 kB / 1.781 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/3.616, allocations: 82.62 kB / 1.781 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/3.616, allocations: 1.969 kB / 1.781 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/3.616, allocations: 15.39 kB / 1.781 GB, free: 180.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007126/3.617, allocations: 1.77 MB / 1.783 GB, free: 179.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/3.617, allocations: 0 / 1.783 GB, free: 179.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/3.619, allocations: 0.8743 MB / 1.784 GB, free: 178.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/3.62, allocations: 227.7 kB / 1.784 GB, free: 178.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/3.62, allocations: 14.14 kB / 1.784 GB, free: 178.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/3.621, allocations: 80.05 kB / 1.784 GB, free: 178.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/3.622, allocations: 42.34 kB / 1.784 GB, free: 178.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/3.622, allocations: 21.58 kB / 1.784 GB, free: 178.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001034/3.623, allocations: 0.5764 MB / 1.784 GB, free: 178.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.31e-07/3.623, allocations: 0.75 kB / 1.784 GB, free: 178.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002029/3.625, allocations: 494.6 kB / 1.785 GB, free: 178.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (mot.int.y) * Number of discrete variables: 8 ($whenCondition1,ySet.a,ySet.b,ySet.last,ySet.nextEvent,ySet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (ySet.nextEvent,ySet.last,ySet.nextEventScaled,ySet.b,ySet.a,$whenCondition1,mot.lowHys.y,mot.uppHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/3.626, allocations: 491.6 kB / 1.785 GB, free: 178.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003453/3.629, allocations: 0.993 MB / 1.786 GB, free: 178.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/3.629, allocations: 9.297 kB / 1.786 GB, free: 178.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000861/3.63, allocations: 308 kB / 1.787 GB, free: 178.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/3.634, allocations: 377.2 kB / 1.787 GB, free: 178.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/3.638, allocations: 1.597 MB / 1.789 GB, free: 177.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/3.638, allocations: 1.009 MB / 1.79 GB, free: 176.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001096/3.639, allocations: 138.2 kB / 1.79 GB, free: 176.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/3.64, allocations: 70.38 kB / 1.79 GB, free: 176.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.422e-06/3.64, allocations: 2.438 kB / 1.79 GB, free: 176.8 MB / 0.823 GB Notification: Performance of Templates: time 0.04433/3.684, allocations: 16.84 MB / 1.806 GB, free: 176.7 MB / 0.823 GB