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.001605/0.001605, allocations: 109.1 kB / 16.41 MB, free: 6.512 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.001856/0.001856, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 295.4 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9133/0.9133, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 95.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3596, allocations: 86.98 MB / 0.7671 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.6034/0.963, allocations: 321.5 MB / 1.081 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04683/1.01, allocations: 39.56 MB / 1.12 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004822/1.015, allocations: 145 kB / 1.12 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.008155/1.023, allocations: 3.395 MB / 1.123 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01682/1.04, allocations: 7.312 MB / 1.13 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008214/1.048, allocations: 3.761 MB / 1.134 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.04794/1.096, allocations: 36.65 MB / 1.17 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005946/1.102, allocations: 3.721 MB / 1.173 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/1.113, allocations: 6.053 MB / 1.179 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005372/1.119, allocations: 3.648 MB / 1.183 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008348/1.12, allocations: 0.5156 MB / 1.183 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009768/1.129, allocations: 5.718 MB / 1.189 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002146/1.131, allocations: 2.571 MB / 1.191 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003544/1.135, allocations: 3.487 MB / 1.195 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/1.149, allocations: 11.22 MB / 1.206 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.149, allocations: 0 / 1.206 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/1.149, allocations: 0 / 1.206 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.445e-05/1.149, allocations: 0 / 1.206 GB, free: 7.703 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.01338/1.162, allocations: 7.426 MB / 1.213 GB, free: 156 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.162, allocations: 8.031 kB / 1.213 GB, free: 148 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01219/1.174, allocations: 2.002 MB / 1.215 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/1.188, allocations: 8.693 MB / 1.223 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/1.189, allocations: 208.9 kB / 1.224 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004641/1.189, allocations: 291.9 kB / 1.224 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006602/1.196, allocations: 3.847 MB / 1.228 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.399e-05/1.196, allocations: 4 kB / 1.228 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/1.196, allocations: 104 kB / 1.228 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.318e-05/1.196, allocations: 100.7 kB / 1.228 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006141/1.202, allocations: 2.915 MB / 1.231 GB, free: 13.75 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.02032/1.223, allocations: 15.98 MB / 1.246 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006046/1.229, allocations: 2.479 MB / 1.249 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002788/1.231, allocations: 1.379 MB / 1.25 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/1.232, allocations: 219.5 kB / 1.25 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003266/1.235, allocations: 1.891 MB / 1.252 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=157): time 3.627e-06/1.235, allocations: 0 / 1.252 GB, free: 6.867 MB / 0.8887 GB Notification: Performance of matching and sorting (n=157): time 0.009489/1.245, allocations: 3.958 MB / 1.256 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.245, allocations: 84.62 kB / 1.256 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009344/1.254, allocations: 6.633 MB / 1.263 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.00046/1.254, allocations: 69.7 kB / 1.263 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002232/1.257, allocations: 2.472 MB / 1.265 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007141/1.257, allocations: 0.5585 MB / 1.266 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00125/1.259, allocations: 0.8409 MB / 1.266 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.162e-05/1.259, allocations: 309.1 kB / 1.267 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/1.263, allocations: 2.684 MB / 1.269 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004813/1.268, allocations: 3.71 MB / 1.273 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008205/1.276, allocations: 6.044 MB / 1.279 GB, free: 10.75 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/1.276, allocations: 4 kB / 1.279 GB, free: 10.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=499) (initialization): time 0.01109/1.287, allocations: 7.185 MB / 1.286 GB, free: 3.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/1.287, allocations: 41.7 kB / 1.286 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/1.287, allocations: 20 kB / 1.286 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000791/1.288, allocations: 420.6 kB / 1.286 GB, free: 3.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/1.292, allocations: 0.7725 MB / 1.287 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/1.295, allocations: 3.255 MB / 1.29 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/1.299, allocations: 456.3 kB / 1.291 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/1.3, allocations: 191.9 kB / 1.291 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005493/1.305, allocations: 3.685 MB / 1.295 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004164/1.309, allocations: 3.377 MB / 1.298 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007162/1.317, allocations: 5.394 MB / 1.303 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.148e-05/1.317, allocations: 8 kB / 1.303 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of matching and sorting (n=499) (initialization_lambda0): time 0.01023/1.327, allocations: 6.537 MB / 1.309 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.327, allocations: 37.7 kB / 1.31 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/1.327, allocations: 24 kB / 1.31 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/1.328, allocations: 457.3 kB / 1.31 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/1.331, allocations: 0.7528 MB / 1.311 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007973/1.339, allocations: 6.148 MB / 1.317 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004557/1.344, allocations: 370.1 kB / 1.317 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/1.344, allocations: 172 kB / 1.317 GB, free: 2.41 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.0006956/1.345, allocations: 368 kB / 1.318 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009011/1.346, allocations: 0.5128 MB / 1.318 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3077/1.653, allocations: 3.023 MB / 1.321 GB, free: 404.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004979/1.658, allocations: 2.587 MB / 1.324 GB, free: 403.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.658, allocations: 1.312 kB / 1.324 GB, free: 403.6 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/1.66, allocations: 0.8969 MB / 1.324 GB, free: 403.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006666/1.661, allocations: 39.14 kB / 1.324 GB, free: 403.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.664, allocations: 156.7 kB / 1.325 GB, free: 403.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/1.664, allocations: 108.3 kB / 1.325 GB, free: 403.2 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007167/1.671, allocations: 2.993 MB / 1.328 GB, free: 402.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00708/1.678, allocations: 4.418 MB / 1.332 GB, free: 400.7 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001929/1.68, allocations: 1.174 MB / 1.333 GB, free: 400.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.005109/1.685, allocations: 4.547 MB / 1.338 GB, free: 398.7 MB / 0.9512 GB Notification: Performance of Backend: time 3.71e-07/1.685, allocations: 0 / 1.338 GB, free: 398.7 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01315/1.699, allocations: 8.129 MB / 1.346 GB, free: 396.2 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01723/1.716, allocations: 12.82 MB / 1.358 GB, free: 388.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.158/1.874, allocations: 138.4 MB / 1.493 GB, free: 251.8 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)