Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 108 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.001161/0.001161, allocations: 187 kB / 17.34 MB, free: 5.742 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.384/1.384, allocations: 222.9 MB / 241 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.002169/0.002169, allocations: 287.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.9965/0.9965, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 92.28 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4932, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002646/0.4959, allocations: 1.25 MB / 0.7683 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003434/0.4963, allocations: 119.5 kB / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.4963, allocations: 0 / 0.7684 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.4964, allocations: 3.938 kB / 0.7684 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.885e-05/0.4965, allocations: 3.984 kB / 0.7684 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.4967, allocations: 39.89 kB / 0.7684 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.469e-05/0.4968, allocations: 19.88 kB / 0.7684 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.4969, allocations: 7.984 kB / 0.7685 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/0.4969, allocations: 7.984 kB / 0.7685 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.249e-05/0.497, allocations: 3.938 kB / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.497, allocations: 0 / 0.7685 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.4972, allocations: 51.94 kB / 0.7685 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.4972, allocations: 4 kB / 0.7685 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.4972, allocations: 7.938 kB / 0.7685 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.4973, allocations: 43.59 kB / 0.7686 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4974, allocations: 0 / 0.7686 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4974, allocations: 0 / 0.7686 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4974, allocations: 0 / 0.7686 GB, free: 2.352 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004472/0.4978, allocations: 327.6 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4979, allocations: 8.031 kB / 0.7689 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.4979, allocations: 4.844 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.4981, allocations: 172.3 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4981, allocations: 8.375 kB / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.4981, allocations: 384 / 0.7691 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.439e-05/0.4982, allocations: 33.64 kB / 0.7691 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4982, allocations: 0 / 0.7691 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4982, allocations: 3.938 kB / 0.7691 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4982, allocations: 0 / 0.7691 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.4983, allocations: 7.984 kB / 0.7691 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.4985, allocations: 149.7 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.4985, allocations: 34.55 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.225e-05/0.4986, allocations: 8.922 kB / 0.7693 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/0.4993, allocations: 0.605 MB / 0.7699 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4994, allocations: 38.56 kB / 0.7699 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4994, allocations: 0 / 0.7699 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001548/0.4996, allocations: 45.62 kB / 0.77 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.4996, allocations: 55.53 kB / 0.77 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.906e-05/0.4997, allocations: 97.86 kB / 0.7701 GB, free: 464 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.4997, allocations: 29.7 kB / 0.7701 GB, free: 428 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.4997, allocations: 80.14 kB / 0.7702 GB, free: 344 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.4998, allocations: 10.42 kB / 0.7702 GB, free: 336 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.4998, allocations: 13.72 kB / 0.7702 GB, free: 316 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5, allocations: 314.8 kB / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.5, allocations: 0 / 0.7705 GB, free: 15.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.5, allocations: 8 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.5, allocations: 20.8 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5001, allocations: 0 / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.695e-05/0.5001, allocations: 41.62 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5002, allocations: 8 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5002, allocations: 0 / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5002, allocations: 0 / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.5002, allocations: 4 kB / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5002, allocations: 96 / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.5003, allocations: 4 kB / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.5003, allocations: 0 / 0.7706 GB, free: 15.9 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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 8.403e-05/0.5004, allocations: 116.2 kB / 0.7707 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.5004, allocations: 11.83 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.292e-05/0.5005, allocations: 44.77 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5005, allocations: 0 / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5005, allocations: 0 / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5005, allocations: 3.984 kB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.5006, allocations: 149.7 kB / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.5006, allocations: 3.938 kB / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.5007, allocations: 7.938 kB / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.5007, allocations: 3.984 kB / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.5007, allocations: 0 / 0.7709 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5007, allocations: 4 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5007, allocations: 3.938 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.785e-05/0.5008, allocations: 61.08 kB / 0.771 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.5009, allocations: 93.06 kB / 0.7711 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.5009, allocations: 0 / 0.7711 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.619e-05/0.5009, allocations: 4 kB / 0.7711 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.257e-05/0.5009, allocations: 0 / 0.7711 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.5009, allocations: 0 / 0.7711 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.501, allocations: 79.28 kB / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.501, allocations: 0 / 0.7712 GB, free: 15.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002037/0.5012, allocations: 15.94 kB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001767/0.5014, allocations: 118.3 kB / 0.7713 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.344e-05/0.5015, allocations: 12 kB / 0.7713 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5015, allocations: 0 / 0.7713 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-05/0.5015, allocations: 7.938 kB / 0.7713 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.5018, allocations: 18.58 kB / 0.7713 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.5021, allocations: 127.9 kB / 0.7715 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.5023, allocations: 0.6769 MB / 0.7721 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.5024, allocations: 11.44 kB / 0.7721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.5024, allocations: 0 / 0.7721 GB, free: 14.18 MB / 0.545 GB Notification: Performance of Templates: time 0.002106/0.5045, allocations: 0.6061 MB / 0.7727 GB, free: 13.57 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)