Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, 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.001051/0.001051, 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.287/1.287, allocations: 222.9 MB / 241.1 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.002094/0.002094, allocations: 284.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9286/0.9286, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 99.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3767, allocations: 86.99 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.6166/0.9933, allocations: 321.5 MB / 1.081 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05107/1.044, allocations: 39.55 MB / 1.12 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005446/1.05, allocations: 148.2 kB / 1.12 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00933/1.059, allocations: 3.461 MB / 1.123 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01905/1.078, allocations: 7.574 MB / 1.131 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.009199/1.088, allocations: 3.778 MB / 1.134 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.05147/1.139, allocations: 36.65 MB / 1.17 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006085/1.145, allocations: 3.728 MB / 1.174 GB, free: 8.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/1.158, allocations: 6.162 MB / 1.18 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006141/1.164, allocations: 3.647 MB / 1.183 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001529/1.165, allocations: 0.5195 MB / 1.184 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/1.177, allocations: 5.722 MB / 1.189 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002976/1.18, allocations: 2.571 MB / 1.192 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005669/1.185, allocations: 3.495 MB / 1.195 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0162/1.202, allocations: 11.22 MB / 1.206 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.202, allocations: 0 / 1.206 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.372e-06/1.202, allocations: 0 / 1.206 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002314/1.202, allocations: 0 / 1.206 GB, free: 6.957 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: 623 * Number of variables: 623 Notification: Performance of Generate backend data structure: time 0.01679/1.219, allocations: 7.422 MB / 1.213 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/1.219, allocations: 8.031 kB / 1.213 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/1.231, allocations: 2.013 MB / 1.215 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/1.247, allocations: 8.685 MB / 1.224 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/1.247, allocations: 212.8 kB / 1.224 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005271/1.247, allocations: 288 kB / 1.224 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/1.254, allocations: 3.847 MB / 1.228 GB, free: 152 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.598e-05/1.254, allocations: 4 kB / 1.228 GB, free: 148 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/1.254, allocations: 104 kB / 1.228 GB, free: 44 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-05/1.254, allocations: 96.7 kB / 1.228 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006198/1.261, allocations: 2.915 MB / 1.231 GB, free: 13.02 MB / 0.8731 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.02135/1.282, allocations: 15.99 MB / 1.247 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00609/1.288, allocations: 2.479 MB / 1.249 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/1.291, allocations: 1.375 MB / 1.251 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/1.291, allocations: 227.5 kB / 1.251 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003273/1.295, allocations: 1.887 MB / 1.253 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=157): time 3.627e-06/1.295, allocations: 0 / 1.253 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=157): time 0.009724/1.304, allocations: 3.969 MB / 1.257 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.304, allocations: 68.72 kB / 1.257 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009007/1.313, allocations: 6.637 MB / 1.263 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003649/1.314, allocations: 73.7 kB / 1.263 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002183/1.316, allocations: 2.465 MB / 1.266 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006553/1.317, allocations: 0.5624 MB / 1.266 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/1.318, allocations: 0.8409 MB / 1.267 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/1.318, allocations: 309 kB / 1.267 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004054/1.322, allocations: 2.684 MB / 1.27 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004781/1.327, allocations: 3.71 MB / 1.273 GB, free: 360 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008351/1.335, allocations: 6.047 MB / 1.279 GB, free: 10 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/1.335, allocations: 8 kB / 1.279 GB, free: 9.992 MB / 0.92 GB Notification: Performance of matching and sorting (n=499) (initialization): time 0.01129/1.346, allocations: 7.181 MB / 1.286 GB, free: 2.781 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/1.346, allocations: 44.83 kB / 1.286 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/1.346, allocations: 20 kB / 1.286 GB, free: 2.715 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/1.347, allocations: 420.6 kB / 1.287 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004029/1.351, allocations: 0.7727 MB / 1.288 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/1.355, allocations: 3.255 MB / 1.291 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006167/1.361, allocations: 452.4 kB / 1.291 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004644/1.361, allocations: 188 kB / 1.291 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008257/1.37, allocations: 3.689 MB / 1.295 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006433/1.376, allocations: 3.381 MB / 1.298 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01051/1.387, allocations: 5.39 MB / 1.304 GB, free: 404 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.802e-05/1.387, allocations: 4 kB / 1.304 GB, free: 400 kB / 0.9356 GB Notification: Performance of matching and sorting (n=499) (initialization_lambda0): time 0.01514/1.402, allocations: 6.54 MB / 1.31 GB, free: 9.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/1.402, allocations: 41.7 kB / 1.31 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.387e-05/1.402, allocations: 20.91 kB / 1.31 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/1.403, allocations: 460.6 kB / 1.31 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004578/1.408, allocations: 0.7567 MB / 1.311 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.42, allocations: 6.132 MB / 1.317 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004583/1.424, allocations: 374 kB / 1.318 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003107/1.425, allocations: 168 kB / 1.318 GB, free: 1.668 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (368): * Single equations (assignments): 357 * 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.0006566/1.425, allocations: 363.3 kB / 1.318 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.426, allocations: 0.5128 MB / 1.319 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2988/1.725, allocations: 3.027 MB / 1.322 GB, free: 404.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005005/1.73, allocations: 2.585 MB / 1.324 GB, free: 403.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.73, allocations: 0 / 1.324 GB, free: 403.4 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002278/1.733, allocations: 0.9033 MB / 1.325 GB, free: 403.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/1.734, allocations: 38.3 kB / 1.325 GB, free: 403.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003015/1.737, allocations: 154.2 kB / 1.325 GB, free: 403 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/1.737, allocations: 108 kB / 1.325 GB, free: 403 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007226/1.744, allocations: 2.996 MB / 1.328 GB, free: 402 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00728/1.752, allocations: 4.416 MB / 1.332 GB, free: 400.5 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001934/1.754, allocations: 1.167 MB / 1.334 GB, free: 400.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.005189/1.759, allocations: 4.55 MB / 1.338 GB, free: 398.5 MB / 0.9512 GB Notification: Performance of Backend: time 4.81e-07/1.759, allocations: 0 / 1.338 GB, free: 398.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.772, allocations: 8.135 MB / 1.346 GB, free: 396 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01707/1.789, allocations: 12.82 MB / 1.358 GB, free: 387.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.1538/1.943, allocations: 138.4 MB / 1.494 GB, free: 251 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1)