Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008701/0.0008701, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 214.6 kB / 22.26 MB, free: 3.852 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9627/0.9627, allocations: 230.6 MB / 256 MB, free: 3.473 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7771/0.7771, allocations: 203.8 MB / 0.5042 GB, free: 0.7344 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.91 kB / 0.7183 GB, free: 15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4784/0.4797, allocations: 102 MB / 0.8179 GB, free: 25.01 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001747/0.4814, allocations: 1.326 MB / 0.8192 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0004127/0.4818, allocations: 274.8 kB / 0.8194 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.4819, allocations: 1.031 kB / 0.8194 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.4819, allocations: 4.5 kB / 0.8194 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.367e-05/0.482, allocations: 16.45 kB / 0.8194 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.4822, allocations: 65.16 kB / 0.8195 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.4823, allocations: 38.98 kB / 0.8195 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.4823, allocations: 2.25 kB / 0.8196 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.4824, allocations: 34.69 kB / 0.8196 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.4825, allocations: 15.86 kB / 0.8196 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.4825, allocations: 0.625 kB / 0.8196 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.4826, allocations: 78.61 kB / 0.8197 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.4826, allocations: 6.922 kB / 0.8197 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.4827, allocations: 8.078 kB / 0.8197 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.4828, allocations: 76.61 kB / 0.8198 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4828, allocations: 1.25 kB / 0.8198 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4828, allocations: 1.438 kB / 0.8198 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4828, allocations: 0 / 0.8198 GB, free: 23.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000262/0.4831, allocations: 275 kB / 0.82 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4831, allocations: 11.58 kB / 0.82 GB, free: 23.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.988e-05/0.4832, allocations: 32.55 kB / 0.8201 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/0.4834, allocations: 49.16 kB / 0.8201 GB, free: 23.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.017e-05/0.4835, allocations: 114.7 kB / 0.8202 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4835, allocations: 5.859 kB / 0.8202 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.4835, allocations: 2.125 kB / 0.8202 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.4837, allocations: 72.62 kB / 0.8203 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.4837, allocations: 4.641 kB / 0.8203 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4837, allocations: 0.5312 kB / 0.8203 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4837, allocations: 1 kB / 0.8203 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.4838, allocations: 35.94 kB / 0.8203 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.4841, allocations: 224.1 kB / 0.8206 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.393e-05/0.4842, allocations: 49.34 kB / 0.8206 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.4843, allocations: 19.58 kB / 0.8206 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.4843, allocations: 0 / 0.8206 GB, free: 23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.4843, allocations: 32.23 kB / 0.8207 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.4843, allocations: 1.219 kB / 0.8207 GB, free: 22.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002028/0.4845, allocations: 77.91 kB / 0.8207 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.4845, allocations: 51.41 kB / 0.8208 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.114e-05/0.4846, allocations: 107.2 kB / 0.8209 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.461e-06/0.4846, allocations: 26.23 kB / 0.8209 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.834e-05/0.4846, allocations: 81.95 kB / 0.821 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.4846, allocations: 13.11 kB / 0.821 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.4846, allocations: 14.47 kB / 0.821 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.067e-05/0.4847, allocations: 316 kB / 0.8213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.4847, allocations: 13.27 kB / 0.8213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.4847, allocations: 14.64 kB / 0.8213 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.398e-05/0.4848, allocations: 26.27 kB / 0.8214 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4848, allocations: 5 kB / 0.8214 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.715e-05/0.4849, allocations: 56.7 kB / 0.8214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4849, allocations: 5.938 kB / 0.8214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4849, allocations: 0.75 kB / 0.8214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4849, allocations: 0.7188 kB / 0.8214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.312e-05/0.485, allocations: 15.11 kB / 0.8214 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.485, allocations: 0 / 0.8214 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.611e-05/0.485, allocations: 8.781 kB / 0.8215 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.485, allocations: 0.6094 kB / 0.8215 GB, free: 22.22 MB / 0.6355 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 3.744e-05/0.485, allocations: 117 kB / 0.8216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.4851, allocations: 1.812 kB / 0.8216 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.4851, allocations: 14.09 kB / 0.8216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4851, allocations: 0.625 kB / 0.8216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4851, allocations: 0.9062 kB / 0.8216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4851, allocations: 0.6562 kB / 0.8216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.951e-05/0.4852, allocations: 140.7 kB / 0.8217 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4852, allocations: 1.688 kB / 0.8217 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.4852, allocations: 6.234 kB / 0.8217 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.4852, allocations: 0.6875 kB / 0.8217 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.4852, allocations: 5.406 kB / 0.8217 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4852, allocations: 0.5 kB / 0.8217 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4852, allocations: 1 kB / 0.8217 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.4853, allocations: 161.6 kB / 0.8219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.4854, allocations: 4.188 kB / 0.8219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.4854, allocations: 0.8438 kB / 0.8219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.4854, allocations: 8.062 kB / 0.8219 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.4854, allocations: 1.422 kB / 0.8219 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.4854, allocations: 1.594 kB / 0.8219 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.126e-05/0.4854, allocations: 91.73 kB / 0.822 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4854, allocations: 0 / 0.822 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001471/0.4856, allocations: 6.094 kB / 0.822 GB, free: 21.68 MB / 0.6355 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.0002027/0.4858, allocations: 0.6871 MB / 0.8227 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.4859, allocations: 29.97 kB / 0.8227 GB, free: 21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4859, allocations: 0 / 0.8227 GB, free: 21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.4859, allocations: 11.53 kB / 0.8227 GB, free: 21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.4862, allocations: 7.141 kB / 0.8227 GB, free: 21 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.4865, allocations: 175 kB / 0.8229 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.377e-05/0.4866, allocations: 0.6798 MB / 0.8235 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.4866, allocations: 5.172 kB / 0.8235 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.4867, allocations: 12.8 kB / 0.8236 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4867, allocations: 0 / 0.8236 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.5028, allocations: 1.325 MB / 0.8249 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.972/7.475, allocations: 5.641 kB / 0.8249 GB, free: 19.73 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.467875448055565] Failed to read output from testmodel.py, exit status != 0: 7.554387280950323 7.56364508 7.078868222 Calling exit ...