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.001008/0.001008, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009654/0.0009654, allocations: 192.4 kB / 16.25 MB, free: 6.625 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.18/1.18, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6874/0.6874, allocations: 132.2 MB / 422.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 59.22 kB / 0.5014 GB, free: 4.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3079, allocations: 80.21 MB / 0.5797 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001931/0.3099, allocations: 1.349 MB / 0.581 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004222/0.3103, allocations: 308.4 kB / 0.5813 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.3103, allocations: 0.75 kB / 0.5813 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.3104, allocations: 3.938 kB / 0.5813 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.3105, allocations: 10.09 kB / 0.5813 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.3107, allocations: 71.34 kB / 0.5814 GB, free: 3.348 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.573e-05/0.3108, allocations: 37.95 kB / 0.5814 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.573e-05/0.3108, allocations: 2.953 kB / 0.5814 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.769e-05/0.3109, allocations: 25.16 kB / 0.5814 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.3109, allocations: 14.17 kB / 0.5815 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.3109, allocations: 4.5 kB / 0.5815 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.3111, allocations: 83.86 kB / 0.5815 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.3111, allocations: 10.59 kB / 0.5815 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.3111, allocations: 12.7 kB / 0.5816 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.3113, allocations: 72.39 kB / 0.5816 GB, free: 3.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3113, allocations: 4.812 kB / 0.5816 GB, free: 3.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3113, allocations: 0 / 0.5816 GB, free: 3.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3113, allocations: 1.297 kB / 0.5816 GB, free: 3.254 MB / 430.1 MB 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.0002497/0.3116, allocations: 352.2 kB / 0.582 GB, free: 2.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.3116, allocations: 13.47 kB / 0.582 GB, free: 2.879 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.024e-05/0.3116, allocations: 32.64 kB / 0.582 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.276e-05/0.3117, allocations: 7.219 kB / 0.582 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.168e-05/0.3117, allocations: 170.7 kB / 0.5822 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-06/0.3117, allocations: 1.594 kB / 0.5822 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.3117, allocations: 1.438 kB / 0.5822 GB, free: 2.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.68e-05/0.3118, allocations: 42.78 kB / 0.5822 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.3118, allocations: 0.7031 kB / 0.5822 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.3118, allocations: 4.781 kB / 0.5822 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.3119, allocations: 0.875 kB / 0.5822 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.3119, allocations: 12.61 kB / 0.5822 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.814e-05/0.312, allocations: 164.2 kB / 0.5824 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.756e-05/0.3121, allocations: 28.55 kB / 0.5824 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.3121, allocations: 13.75 kB / 0.5824 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/0.3128, allocations: 1.189 MB / 0.5836 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.3128, allocations: 31.86 kB / 0.5836 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3129, allocations: 0 / 0.5836 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001223/0.313, allocations: 56.33 kB / 0.5837 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.421e-05/0.313, allocations: 52.81 kB / 0.5837 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.521e-05/0.3131, allocations: 106.8 kB / 0.5838 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.3131, allocations: 29.7 kB / 0.5839 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.183e-05/0.3131, allocations: 85.64 kB / 0.584 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.3131, allocations: 9.625 kB / 0.584 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.3131, allocations: 15.22 kB / 0.584 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.269e-05/0.3132, allocations: 316.4 kB / 0.5843 GB, free: 324 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.3132, allocations: 4.25 kB / 0.5843 GB, free: 324 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.3132, allocations: 3.438 kB / 0.5843 GB, free: 324 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.044e-05/0.3132, allocations: 17.81 kB / 0.5843 GB, free: 312 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3132, allocations: 5 kB / 0.5843 GB, free: 308 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.797e-05/0.3133, allocations: 51.72 kB / 0.5844 GB, free: 264 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-06/0.3133, allocations: 6.188 kB / 0.5844 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.3133, allocations: 0 / 0.5844 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3133, allocations: 0.7812 kB / 0.5844 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.02e-05/0.3134, allocations: 9.906 kB / 0.5844 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.3134, allocations: 3.938 kB / 0.5844 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.3134, allocations: 1.25 kB / 0.5844 GB, free: 256 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3134, allocations: 1.812 kB / 0.5844 GB, free: 256 kB / 430.1 MB 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.67e-05/0.3135, allocations: 112 kB / 0.5845 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.3135, allocations: 14.5 kB / 0.5845 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3136, allocations: 57.58 kB / 0.5846 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3136, allocations: 0 / 0.5846 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3136, allocations: 2.078 kB / 0.5846 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.3136, allocations: 0 / 0.5846 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.3137, allocations: 160.2 kB / 0.5847 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3137, allocations: 4.719 kB / 0.5847 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.3138, allocations: 9.172 kB / 0.5847 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3138, allocations: 1.922 kB / 0.5847 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.3138, allocations: 0 / 0.5847 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3138, allocations: 1.062 kB / 0.5847 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3138, allocations: 0.75 kB / 0.5847 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.023e-05/0.3139, allocations: 75.31 kB / 0.5848 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.3139, allocations: 90.33 kB / 0.5849 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.314, allocations: 4 kB / 0.5849 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.314, allocations: 6.078 kB / 0.5849 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.314, allocations: 2.547 kB / 0.5849 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.314, allocations: 5.797 kB / 0.5849 GB, free: 15.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.695e-05/0.3141, allocations: 89.14 kB / 0.585 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3141, allocations: 0 / 0.585 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.3143, allocations: 25.66 kB / 0.585 GB, free: 15.6 MB / 446.1 MB 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.0003535/0.3146, allocations: 0.6395 MB / 0.5856 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.186e-05/0.3147, allocations: 23.5 kB / 0.5857 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3147, allocations: 0.875 kB / 0.5857 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.3147, allocations: 7.547 kB / 0.5857 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.3149, allocations: 10.19 kB / 0.5857 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.3152, allocations: 172.9 kB / 0.5858 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.3154, allocations: 0.683 MB / 0.5865 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.98e-05/0.3155, allocations: 9.125 kB / 0.5865 GB, free: 14.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.3155, allocations: 10.16 kB / 0.5865 GB, free: 14.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3155, allocations: 4 kB / 0.5865 GB, free: 14.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1396/0.4551, allocations: 1.511 MB / 0.588 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.4553, allocations: 205.7 kB / 0.5882 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.929/2.385, allocations: 0 / 0.5882 GB, free: 13.61 MB / 446.1 MB (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)