Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 186.1 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 289.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9409/0.9409, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 99.86 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3682, allocations: 86.99 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine): time 0.6266/0.9948, allocations: 321.5 MB / 1.081 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04797/1.043, allocations: 39.54 MB / 1.12 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005104/1.048, allocations: 150.1 kB / 1.12 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.008431/1.056, allocations: 3.426 MB / 1.123 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01681/1.073, allocations: 7.499 MB / 1.13 GB, free: 4.762 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007861/1.081, allocations: 3.666 MB / 1.134 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.04778/1.129, allocations: 36.3 MB / 1.169 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005377/1.134, allocations: 3.495 MB / 1.173 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01321/1.148, allocations: 6.014 MB / 1.179 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005944/1.154, allocations: 3.501 MB / 1.182 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001399/1.155, allocations: 496 kB / 1.183 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/1.166, allocations: 5.687 MB / 1.188 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002758/1.169, allocations: 2.482 MB / 1.191 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005239/1.174, allocations: 3.355 MB / 1.194 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01499/1.189, allocations: 10.83 MB / 1.205 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/1.189, allocations: 0 / 1.205 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.252e-06/1.189, allocations: 0 / 1.205 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002307/1.189, allocations: 0 / 1.205 GB, free: 8.742 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.01616/1.205, allocations: 7.148 MB / 1.211 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.205, allocations: 8.031 kB / 1.211 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/1.216, allocations: 1.752 MB / 1.213 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/1.231, allocations: 8.488 MB / 1.221 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/1.231, allocations: 192.5 kB / 1.222 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006296/1.232, allocations: 268 kB / 1.222 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006652/1.238, allocations: 3.579 MB / 1.225 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/1.238, allocations: 0 / 1.225 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002998/1.239, allocations: 95.98 kB / 1.226 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.458e-05/1.239, allocations: 88.28 kB / 1.226 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00562/1.244, allocations: 2.66 MB / 1.228 GB, free: 112 kB / 0.8575 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.02077/1.265, allocations: 15.24 MB / 1.243 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004436/1.27, allocations: 2.113 MB / 1.245 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/1.272, allocations: 1.134 MB / 1.246 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/1.272, allocations: 215.4 kB / 1.246 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002818/1.275, allocations: 1.739 MB / 1.248 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=137): time 3.707e-06/1.275, allocations: 3.938 kB / 1.248 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=137): time 0.008003/1.283, allocations: 3.558 MB / 1.252 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.283, allocations: 64.72 kB / 1.252 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.293, allocations: 6.529 MB / 1.258 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002425/1.293, allocations: 65.7 kB / 1.258 GB, free: 476 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002242/1.296, allocations: 2.393 MB / 1.26 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/1.296, allocations: 0.4931 MB / 1.261 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/1.297, allocations: 0.8051 MB / 1.262 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.369e-05/1.297, allocations: 305.1 kB / 1.262 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003685/1.301, allocations: 2.562 MB / 1.265 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004369/1.306, allocations: 3.606 MB / 1.268 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007372/1.313, allocations: 5.822 MB / 1.274 GB, free: 15.74 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/1.313, allocations: 4 kB / 1.274 GB, free: 15.74 MB / 0.92 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01033/1.323, allocations: 6.931 MB / 1.281 GB, free: 8.781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.843e-05/1.323, allocations: 48.86 kB / 1.281 GB, free: 8.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.323, allocations: 24 kB / 1.281 GB, free: 8.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007813/1.324, allocations: 416.6 kB / 1.281 GB, free: 8.297 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/1.328, allocations: 0.6943 MB / 1.282 GB, free: 7.602 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/1.331, allocations: 3.251 MB / 1.285 GB, free: 4.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004087/1.335, allocations: 436.1 kB / 1.285 GB, free: 3.824 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/1.335, allocations: 176 kB / 1.285 GB, free: 3.652 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005383/1.341, allocations: 3.571 MB / 1.289 GB, free: 76 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004076/1.345, allocations: 3.289 MB / 1.292 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00675/1.352, allocations: 5.223 MB / 1.297 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-05/1.352, allocations: 8 kB / 1.297 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.009735/1.361, allocations: 6.329 MB / 1.303 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/1.362, allocations: 45.7 kB / 1.303 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/1.362, allocations: 20.94 kB / 1.303 GB, free: 432 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/1.363, allocations: 460.6 kB / 1.304 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/1.366, allocations: 0.6942 MB / 1.305 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008352/1.374, allocations: 6.175 MB / 1.311 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/1.379, allocations: 350.1 kB / 1.311 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004392/1.379, allocations: 164 kB / 1.311 GB, free: 8.363 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 5 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (347): * Single equations (assignments): 336 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007773/1.38, allocations: 352.3 kB / 1.311 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.381, allocations: 0.4973 MB / 1.312 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005933/1.387, allocations: 2.719 MB / 1.315 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004224/1.391, allocations: 2.334 MB / 1.317 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/1.391, allocations: 4 kB / 1.317 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/1.394, allocations: 0.8494 MB / 1.318 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.395, allocations: 31.98 kB / 1.318 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002994/1.398, allocations: 133.6 kB / 1.318 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/1.398, allocations: 101.2 kB / 1.318 GB, free: 1.23 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3221/1.72, allocations: 2.628 MB / 1.321 GB, free: 404.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00702/1.727, allocations: 3.954 MB / 1.324 GB, free: 403.6 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001654/1.729, allocations: 1.012 MB / 1.325 GB, free: 403.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.006246/1.735, allocations: 4.474 MB / 1.33 GB, free: 401.6 MB / 0.9512 GB Notification: Performance of Backend: time 6.31e-07/1.735, allocations: 3.375 kB / 1.33 GB, free: 401.6 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01286/1.748, allocations: 7.817 MB / 1.337 GB, free: 399.2 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01766/1.766, allocations: 12.38 MB / 1.349 GB, free: 394.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.154/1.92, allocations: 133.1 MB / 1.479 GB, free: 265.1 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)