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.001119/0.001119, allocations: 111.9 kB / 16.42 MB, free: 6.496 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.001111/0.001111, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.281/1.281, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 292.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.938/0.938, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 95.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.358, allocations: 86.98 MB / 0.7671 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine): time 0.611/0.9691, allocations: 321.5 MB / 1.081 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.04507/1.014, allocations: 39.56 MB / 1.12 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004583/1.019, allocations: 149.6 kB / 1.12 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.007997/1.027, allocations: 3.37 MB / 1.123 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/1.043, allocations: 7.235 MB / 1.13 GB, free: 5.348 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00759/1.05, allocations: 3.653 MB / 1.134 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.04823/1.098, allocations: 36.29 MB / 1.169 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00582/1.104, allocations: 3.499 MB / 1.173 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/1.117, allocations: 5.905 MB / 1.178 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00625/1.123, allocations: 3.504 MB / 1.182 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001531/1.124, allocations: 492 kB / 1.182 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.011/1.135, allocations: 5.671 MB / 1.188 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0029/1.138, allocations: 2.486 MB / 1.19 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.005192/1.144, allocations: 3.347 MB / 1.193 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01567/1.159, allocations: 10.83 MB / 1.204 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.159, allocations: 3.984 kB / 1.204 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.352e-06/1.159, allocations: 0 / 1.204 GB, free: 9.477 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002304/1.16, allocations: 0 / 1.204 GB, free: 9.477 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.01704/1.177, allocations: 7.148 MB / 1.211 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.177, allocations: 8.031 kB / 1.211 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/1.188, allocations: 1.756 MB / 1.213 GB, free: 444 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/1.203, allocations: 8.488 MB / 1.221 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/1.203, allocations: 192.5 kB / 1.221 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008164/1.204, allocations: 264 kB / 1.221 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007086/1.211, allocations: 3.575 MB / 1.225 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.434e-05/1.211, allocations: 3.938 kB / 1.225 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003446/1.212, allocations: 96 kB / 1.225 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.578e-05/1.212, allocations: 88.27 kB / 1.225 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005694/1.217, allocations: 2.664 MB / 1.228 GB, free: 0.8398 MB / 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.02132/1.239, allocations: 15.23 MB / 1.243 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/1.243, allocations: 2.12 MB / 1.245 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/1.245, allocations: 1.13 MB / 1.246 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/1.246, allocations: 215.5 kB / 1.246 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002799/1.248, allocations: 1.735 MB / 1.248 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=137): time 4.278e-06/1.248, allocations: 4 kB / 1.248 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=137): time 0.008402/1.257, allocations: 3.551 MB / 1.251 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.257, allocations: 72.7 kB / 1.251 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/1.268, allocations: 6.529 MB / 1.258 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004244/1.268, allocations: 69.7 kB / 1.258 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002456/1.271, allocations: 2.389 MB / 1.26 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006984/1.271, allocations: 0.4893 MB / 1.26 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/1.273, allocations: 0.8012 MB / 1.261 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/1.273, allocations: 313.1 kB / 1.262 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/1.277, allocations: 2.566 MB / 1.264 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00449/1.281, allocations: 3.598 MB / 1.268 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007465/1.289, allocations: 5.822 MB / 1.273 GB, free: 500 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.795e-05/1.289, allocations: 11.94 kB / 1.273 GB, free: 488 kB / 0.9044 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.0106/1.299, allocations: 6.931 MB / 1.28 GB, free: 9.52 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/1.3, allocations: 45.69 kB / 1.28 GB, free: 9.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-05/1.3, allocations: 24 kB / 1.28 GB, free: 9.445 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000815/1.3, allocations: 425.3 kB / 1.281 GB, free: 9.027 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/1.304, allocations: 0.6982 MB / 1.281 GB, free: 8.328 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003219/1.307, allocations: 3.251 MB / 1.284 GB, free: 4.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004364/1.312, allocations: 428.3 kB / 1.285 GB, free: 4.559 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000353/1.312, allocations: 183.9 kB / 1.285 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005589/1.317, allocations: 3.571 MB / 1.288 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004104/1.322, allocations: 3.289 MB / 1.292 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006778/1.328, allocations: 5.223 MB / 1.297 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.841e-05/1.328, allocations: 8 kB / 1.297 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=478) (initialization_lambda0): time 0.00986/1.338, allocations: 6.326 MB / 1.303 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/1.338, allocations: 41.7 kB / 1.303 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/1.338, allocations: 20 kB / 1.303 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/1.339, allocations: 460.9 kB / 1.303 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/1.342, allocations: 0.6904 MB / 1.304 GB, free: 12 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007961/1.35, allocations: 6.163 MB / 1.31 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004439/1.355, allocations: 350.3 kB / 1.31 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/1.355, allocations: 168 kB / 1.311 GB, free: 9.109 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.0007241/1.356, allocations: 359.3 kB / 1.311 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.357, allocations: 0.4973 MB / 1.311 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00583/1.363, allocations: 2.723 MB / 1.314 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004145/1.367, allocations: 2.338 MB / 1.316 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.367, allocations: 0 / 1.316 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002025/1.369, allocations: 0.8494 MB / 1.317 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/1.37, allocations: 32 kB / 1.317 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002919/1.373, allocations: 127.8 kB / 1.317 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.373, allocations: 105.1 kB / 1.317 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3186/1.692, allocations: 2.631 MB / 1.32 GB, free: 404.6 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007388/1.699, allocations: 3.944 MB / 1.324 GB, free: 403.9 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001738/1.701, allocations: 1.011 MB / 1.325 GB, free: 403.5 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00606/1.707, allocations: 4.479 MB / 1.329 GB, free: 401.9 MB / 0.9512 GB Notification: Performance of Backend: time 4.31e-07/1.707, allocations: 0 / 1.329 GB, free: 401.9 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.72, allocations: 7.825 MB / 1.337 GB, free: 399.5 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01679/1.737, allocations: 12.37 MB / 1.349 GB, free: 394.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.1521/1.889, allocations: 133.1 MB / 1.479 GB, free: 265.9 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)