Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005017/0.005017, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001149/0.001149, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7327/0.7327, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 0.5809 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4106, allocations: 80.2 MB / 0.6592 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001901/0.4125, allocations: 1.297 MB / 0.6605 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004907/0.413, allocations: 314.3 kB / 0.6608 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.413, allocations: 0 / 0.6608 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.4131, allocations: 1.375 kB / 0.6608 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.4132, allocations: 9.906 kB / 0.6608 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.4135, allocations: 74.52 kB / 0.6608 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.4136, allocations: 43.06 kB / 0.6609 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.4136, allocations: 7.047 kB / 0.6609 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.4137, allocations: 27.3 kB / 0.6609 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.4138, allocations: 14.84 kB / 0.6609 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.4138, allocations: 1.219 kB / 0.6609 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.4139, allocations: 83.86 kB / 0.661 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.414, allocations: 5.969 kB / 0.661 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.414, allocations: 12.27 kB / 0.661 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.4141, allocations: 73.5 kB / 0.6611 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4142, allocations: 0 / 0.6611 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4142, allocations: 1.375 kB / 0.6611 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4142, allocations: 0.6094 kB / 0.6611 GB, free: 8.59 MB / 0.4981 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.0003188/0.4145, allocations: 347.5 kB / 0.6614 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4145, allocations: 10.55 kB / 0.6614 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.295e-05/0.4146, allocations: 40.44 kB / 0.6615 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.4146, allocations: 10.83 kB / 0.6615 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.073e-05/0.4147, allocations: 167.7 kB / 0.6616 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.4147, allocations: 4.312 kB / 0.6616 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.4147, allocations: 6.266 kB / 0.6617 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.4148, allocations: 38.83 kB / 0.6617 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4148, allocations: 0 / 0.6617 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4148, allocations: 0.6094 kB / 0.6617 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4149, allocations: 1.219 kB / 0.6617 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.963e-05/0.4149, allocations: 7.562 kB / 0.6617 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.415, allocations: 160.1 kB / 0.6619 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.036e-05/0.4151, allocations: 37.31 kB / 0.6619 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.4151, allocations: 17.38 kB / 0.6619 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000827/0.416, allocations: 1.191 MB / 0.6631 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.416, allocations: 32.27 kB / 0.6631 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.416, allocations: 1.156 kB / 0.6631 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001425/0.4162, allocations: 55.98 kB / 0.6632 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.54e-05/0.4162, allocations: 51.92 kB / 0.6632 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.766e-05/0.4162, allocations: 107.2 kB / 0.6633 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.4163, allocations: 25.7 kB / 0.6633 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.345e-05/0.4163, allocations: 85.95 kB / 0.6634 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.4163, allocations: 9.953 kB / 0.6634 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.4163, allocations: 14.81 kB / 0.6634 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.72e-05/0.4164, allocations: 316.9 kB / 0.6637 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.4164, allocations: 3.031 kB / 0.6637 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.155e-05/0.4164, allocations: 4.797 kB / 0.6637 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.4164, allocations: 17.14 kB / 0.6638 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4164, allocations: 1.219 kB / 0.6638 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.252e-05/0.4165, allocations: 60.48 kB / 0.6638 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.4165, allocations: 4.906 kB / 0.6638 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4165, allocations: 0.6562 kB / 0.6638 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4166, allocations: 1.125 kB / 0.6638 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.651e-05/0.4166, allocations: 5.5 kB / 0.6638 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.4166, allocations: 0.6094 kB / 0.6638 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.4166, allocations: 9.391 kB / 0.6638 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.4167, allocations: 1.406 kB / 0.6638 GB, free: 5.578 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.999e-05/0.4167, allocations: 108 kB / 0.6639 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.4167, allocations: 11.02 kB / 0.664 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.4168, allocations: 60.91 kB / 0.664 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.4168, allocations: 1.344 kB / 0.664 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.4168, allocations: 0 / 0.664 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4168, allocations: 0.6094 kB / 0.664 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.114e-05/0.4169, allocations: 164.8 kB / 0.6642 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4169, allocations: 0 / 0.6642 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.417, allocations: 6.188 kB / 0.6642 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.417, allocations: 8.641 kB / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.417, allocations: 1.531 kB / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.417, allocations: 0 / 0.6642 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.417, allocations: 4.734 kB / 0.6642 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.845e-05/0.4171, allocations: 78.69 kB / 0.6643 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.4171, allocations: 82.22 kB / 0.6643 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.4171, allocations: 1.953 kB / 0.6644 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.4172, allocations: 1.734 kB / 0.6644 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.4172, allocations: 9.75 kB / 0.6644 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.4172, allocations: 2 kB / 0.6644 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.58e-05/0.4172, allocations: 88.03 kB / 0.6644 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4172, allocations: 0 / 0.6644 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002039/0.4174, allocations: 29.42 kB / 0.6645 GB, free: 4.922 MB / 0.4981 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 (3): * Single equations (assignments): 3 * 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.0002947/0.4177, allocations: 0.6391 MB / 0.6651 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.749e-05/0.4178, allocations: 20.25 kB / 0.6651 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4178, allocations: 1.438 kB / 0.6651 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.4178, allocations: 6.594 kB / 0.6651 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.418, allocations: 3.484 kB / 0.6651 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.4184, allocations: 170.2 kB / 0.6653 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.4185, allocations: 0.6836 MB / 0.666 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.4185, allocations: 7.938 kB / 0.666 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.4186, allocations: 10.19 kB / 0.666 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.4186, allocations: 0 / 0.666 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.4353, allocations: 1.626 MB / 0.6676 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/7.681, allocations: 6.812 kB / 0.6676 GB, free: 2.707 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)