Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 109.2 kB / 17.09 MB, free: 5.828 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.0009946/0.0009946, allocations: 194.7 kB / 18.02 MB, free: 4.961 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.345/1.345, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7162/0.7162, allocations: 115.3 MB / 407.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 66.14 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1754, allocations: 76.19 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.6873/0.8627, allocations: 189.7 MB / 0.8179 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008142/0.8708, allocations: 4.279 MB / 0.8221 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.8723, allocations: 30.38 kB / 0.8222 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.8737, allocations: 0.4969 MB / 0.8226 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004011/0.8777, allocations: 1.569 MB / 0.8242 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.8813, allocations: 1.347 MB / 0.8255 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003266/0.8846, allocations: 2.271 MB / 0.8277 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.8861, allocations: 1.079 MB / 0.8288 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.8877, allocations: 0.9591 MB / 0.8297 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.8888, allocations: 0.8723 MB / 0.8305 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.889, allocations: 140.9 kB / 0.8307 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002631/0.8916, allocations: 1.247 MB / 0.8319 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004171/0.892, allocations: 413 kB / 0.8323 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006431/0.8927, allocations: 0.6481 MB / 0.8329 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.8954, allocations: 1.978 MB / 0.8349 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8954, allocations: 0 / 0.8349 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8954, allocations: 0 / 0.8349 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.8954, allocations: 0 / 0.8349 GB, free: 1.531 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003922/0.8993, allocations: 1.718 MB / 0.8365 GB, free: 284 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.8994, allocations: 10.38 kB / 0.8365 GB, free: 284 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.9002, allocations: 187.5 kB / 0.8367 GB, free: 188 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/0.902, allocations: 1.074 MB / 0.8378 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.9021, allocations: 44.66 kB / 0.8378 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.9022, allocations: 63.64 kB / 0.8379 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.9034, allocations: 0.6177 MB / 0.8385 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.9034, allocations: 0 / 0.8385 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.9035, allocations: 20.66 kB / 0.8385 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.9035, allocations: 18.94 kB / 0.8385 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.9048, allocations: 0.6269 MB / 0.8391 GB, free: 14.68 MB / 0.6075 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.003802/0.9086, allocations: 2.648 MB / 0.8417 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.9097, allocations: 0.5548 MB / 0.8423 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/0.9104, allocations: 349.3 kB / 0.8426 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/0.9107, allocations: 287.7 kB / 0.8429 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.9108, allocations: 44.98 kB / 0.8429 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005893/0.9114, allocations: 132.2 kB / 0.843 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/0.9114, allocations: 7.938 kB / 0.843 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.002238/0.9136, allocations: 1.024 MB / 0.844 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.9137, allocations: 56.28 kB / 0.8441 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.9155, allocations: 1.272 MB / 0.8453 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.989e-05/0.9156, allocations: 39.05 kB / 0.8454 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.9159, allocations: 435.9 kB / 0.8458 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.9161, allocations: 150.2 kB / 0.8459 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.9163, allocations: 120.7 kB / 0.846 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9164, allocations: 323.4 kB / 0.8464 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/0.9169, allocations: 268.5 kB / 0.8466 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007364/0.9177, allocations: 494.2 kB / 0.8471 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.9188, allocations: 0.585 MB / 0.8477 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.9188, allocations: 0 / 0.8477 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001452/0.9203, allocations: 0.7339 MB / 0.8484 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.9203, allocations: 8 kB / 0.8484 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.9203, allocations: 7.938 kB / 0.8484 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.9203, allocations: 0 / 0.8484 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.921, allocations: 123.8 kB / 0.8485 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.921, allocations: 4 kB / 0.8485 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.9222, allocations: 91.81 kB / 0.8486 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.9222, allocations: 27.97 kB / 0.8486 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008137/0.9231, allocations: 467.4 kB / 0.8491 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007361/0.9238, allocations: 489.9 kB / 0.8495 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001125/0.9249, allocations: 0.5837 MB / 0.8501 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.925, allocations: 0 / 0.8501 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.001501/0.9265, allocations: 0.7341 MB / 0.8508 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.9265, allocations: 7.938 kB / 0.8508 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.9265, allocations: 4.75 kB / 0.8508 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.708e-06/0.9265, allocations: 4 kB / 0.8508 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.9271, allocations: 123.8 kB / 0.851 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.9271, allocations: 0 / 0.851 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.9284, allocations: 126.6 kB / 0.8511 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.9285, allocations: 27.91 kB / 0.8511 GB, free: 5.039 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002279/0.9287, allocations: 204.2 kB / 0.8513 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.9289, allocations: 102.7 kB / 0.8514 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.9307, allocations: 0.8172 MB / 0.8522 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.9307, allocations: 0 / 0.8522 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9307, allocations: 0 / 0.8522 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/0.9311, allocations: 283.7 kB / 0.8525 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.9312, allocations: 12 kB / 0.8525 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/0.9322, allocations: 59.92 kB / 0.8525 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.9323, allocations: 36.38 kB / 0.8526 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001592/0.9339, allocations: 0.7571 MB / 0.8533 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002032/0.9359, allocations: 1.267 MB / 0.8545 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005618/0.9365, allocations: 308.2 kB / 0.8548 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001393/0.9379, allocations: 0.9248 MB / 0.8557 GB, free: 232 kB / 0.6075 GB Notification: Performance of Backend: time 2.61e-07/0.9379, allocations: 0 / 0.8557 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002763/0.9407, allocations: 0.9959 MB / 0.8567 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003319/0.944, allocations: 2.197 MB / 0.8589 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of Templates: time 0.0389/0.9829, allocations: 25.03 MB / 0.8833 GB, free: 4.23 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)