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.004264/0.004269, allocations: 237.7 kB / 15.81 MB, free: 6.312 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.001163/0.001163, allocations: 181.7 kB / 16.69 MB, free: 5.469 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 4.302/4.302, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.276/4.276, allocations: 472.3 MB / 0.9024 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005062, allocations: 15.98 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1881, allocations: 98.73 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesMotor): time 0.02751/0.2157, allocations: 21.26 MB / 1.125 GB, free: 20.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.2332, allocations: 8.905 MB / 1.134 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.2348, allocations: 31.69 kB / 1.134 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002135/0.237, allocations: 448.2 kB / 1.135 GB, free: 11.5 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.004939/0.242, allocations: 1.081 MB / 1.136 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.009727/0.2517, allocations: 2.468 MB / 1.138 GB, free: 8.023 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00358/0.2553, allocations: 2.166 MB / 1.14 GB, free: 5.852 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.2567, allocations: 0.5617 MB / 1.141 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.2586, allocations: 0.6573 MB / 1.141 GB, free: 4.648 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.2602, allocations: 0.6231 MB / 1.142 GB, free: 4.027 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.2604, allocations: 32 kB / 1.142 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.2629, allocations: 0.8654 MB / 1.143 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003964/0.2633, allocations: 151.3 kB / 1.143 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004376/0.2638, allocations: 204.1 kB / 1.143 GB, free: 2.777 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.2659, allocations: 0.9976 MB / 1.144 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2659, allocations: 0 / 1.144 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/0.266, allocations: 0 / 1.144 GB, free: 1.777 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.266, allocations: 4 kB / 1.144 GB, free: 1.773 MB / 0.6042 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.003077/0.2691, allocations: 1.211 MB / 1.145 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.2691, allocations: 8.031 kB / 1.145 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/0.2694, allocations: 118.6 kB / 1.145 GB, free: 396 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.2712, allocations: 0.6246 MB / 1.146 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.2713, allocations: 45.31 kB / 1.146 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.2715, allocations: 64.52 kB / 1.146 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.2732, allocations: 0.6242 MB / 1.147 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.2733, allocations: 1.781 kB / 1.147 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/0.2734, allocations: 28.92 kB / 1.147 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.2734, allocations: 19.89 kB / 1.147 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.2747, allocations: 439.3 kB / 1.147 GB, free: 14.5 MB / 0.6198 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.006175/0.281, allocations: 2.337 MB / 1.149 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.2822, allocations: 325.6 kB / 1.15 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/0.2827, allocations: 172.5 kB / 1.15 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004715/0.2832, allocations: 340.4 kB / 1.15 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008736/0.2841, allocations: 309.5 kB / 1.151 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=35): time 4.538e-06/0.2841, allocations: 0 / 1.151 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.002162/0.2863, allocations: 0.6166 MB / 1.151 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.2865, allocations: 239.3 kB / 1.151 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.2882, allocations: 0.8134 MB / 1.152 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.2884, allocations: 37.7 kB / 1.152 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005674/0.289, allocations: 436.4 kB / 1.153 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.2892, allocations: 106.4 kB / 1.153 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.2893, allocations: 12 kB / 1.153 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2894, allocations: 333.2 kB / 1.153 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006997/0.2902, allocations: 189 kB / 1.153 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.2911, allocations: 336.6 kB / 1.154 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007709/0.2919, allocations: 249.8 kB / 1.154 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.2919, allocations: 336 / 1.154 GB, free: 7.363 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002059/0.294, allocations: 0.6501 MB / 1.154 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.2942, allocations: 197.6 kB / 1.155 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.2942, allocations: 7.938 kB / 1.155 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.2943, allocations: 7 kB / 1.155 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/0.2962, allocations: 171.7 kB / 1.155 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.2978, allocations: 1.777 MB / 1.157 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.2992, allocations: 111.9 kB / 1.157 GB, free: 4.355 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.2994, allocations: 24 kB / 1.157 GB, free: 4.332 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.2994, allocations: 4 kB / 1.157 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001793/0.3012, allocations: 0.563 MB / 1.157 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3013, allocations: 0 / 1.157 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3013, allocations: 5.031 kB / 1.157 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/0.3023, allocations: 126.9 kB / 1.157 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.3023, allocations: 11.92 kB / 1.157 GB, free: 3.625 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.3036, allocations: 102.8 kB / 1.157 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/0.3037, allocations: 27.98 kB / 1.157 GB, free: 3.5 MB / 0.6198 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.0006928/0.3044, allocations: 337.8 kB / 1.158 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.3047, allocations: 90.88 kB / 1.158 GB, free: 3.066 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.3065, allocations: 0.5822 MB / 1.158 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.3065, allocations: 1.688 kB / 1.158 GB, free: 2.473 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.3066, allocations: 3.984 kB / 1.158 GB, free: 2.469 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000624/0.3072, allocations: 215.8 kB / 1.159 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.3074, allocations: 8 kB / 1.159 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/0.3083, allocations: 63.69 kB / 1.159 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.3085, allocations: 45.83 kB / 1.159 GB, free: 2.129 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002547/0.311, allocations: 0.8747 MB / 1.16 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0025/0.3136, allocations: 1.087 MB / 1.161 GB, free: 124 kB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.5891/0.9027, allocations: 232.9 kB / 1.161 GB, free: 82.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001234/0.904, allocations: 0.5511 MB / 1.161 GB, free: 82.81 MB / 0.6198 GB Notification: Performance of Backend: time 7.91e-07/0.9041, allocations: 0 / 1.161 GB, free: 82.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.005225/0.9093, allocations: 1.155 MB / 1.163 GB, free: 82.62 MB / 0.6198 GB Notification: Performance of SimCode: time 0.005669/0.915, allocations: 2.279 MB / 1.165 GB, free: 81.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.05141/0.9665, allocations: 16.98 MB / 1.181 GB, free: 81.02 MB / 0.6198 GB