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.001028/0.001028, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001032/0.001032, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7619/0.7619, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 60.59 kB / 0.5012 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3294, allocations: 80.2 MB / 0.5795 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002138/0.3315, allocations: 1.359 MB / 0.5808 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005009/0.3321, allocations: 325.1 kB / 0.5811 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.606e-05/0.3321, allocations: 0 / 0.5811 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.8e-05/0.3321, allocations: 1.875 kB / 0.5811 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.3322, allocations: 12.53 kB / 0.5812 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.3324, allocations: 58.52 kB / 0.5812 GB, free: 3.355 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.126e-05/0.3325, allocations: 34.78 kB / 0.5812 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.3325, allocations: 6.156 kB / 0.5812 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.3326, allocations: 25.7 kB / 0.5813 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.3327, allocations: 10.09 kB / 0.5813 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.3327, allocations: 0.7812 kB / 0.5813 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3329, allocations: 87.66 kB / 0.5814 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.3329, allocations: 6.203 kB / 0.5814 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.3329, allocations: 16.58 kB / 0.5814 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.3331, allocations: 72.77 kB / 0.5815 GB, free: 3.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3331, allocations: 0.7812 kB / 0.5815 GB, free: 3.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.3331, allocations: 0 / 0.5815 GB, free: 3.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.3331, allocations: 1.406 kB / 0.5815 GB, free: 3.27 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.000283/0.3334, allocations: 351.6 kB / 0.5818 GB, free: 2.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3335, allocations: 9.375 kB / 0.5818 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.3335, allocations: 32.53 kB / 0.5818 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.3335, allocations: 10.5 kB / 0.5818 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.848e-05/0.3336, allocations: 176.8 kB / 0.582 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.3336, allocations: 4.359 kB / 0.582 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.3336, allocations: 1.5 kB / 0.582 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.678e-05/0.3337, allocations: 39.55 kB / 0.5821 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3337, allocations: 0 / 0.5821 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3337, allocations: 4.656 kB / 0.5821 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3338, allocations: 0.7812 kB / 0.5821 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.3338, allocations: 12.38 kB / 0.5821 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001144/0.3339, allocations: 159.8 kB / 0.5822 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.486e-05/0.334, allocations: 33.03 kB / 0.5823 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.334, allocations: 14.25 kB / 0.5823 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008236/0.3349, allocations: 1.188 MB / 0.5834 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.3349, allocations: 31.44 kB / 0.5835 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.3349, allocations: 0 / 0.5835 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000137/0.335, allocations: 53 kB / 0.5835 GB, free: 0.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.597e-05/0.3351, allocations: 52.02 kB / 0.5836 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.332e-05/0.3351, allocations: 106.8 kB / 0.5837 GB, free: 0.793 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-06/0.3351, allocations: 26.67 kB / 0.5837 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.445e-05/0.3352, allocations: 84.84 kB / 0.5838 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.3352, allocations: 14.67 kB / 0.5838 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.3352, allocations: 14.33 kB / 0.5838 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.899e-05/0.3353, allocations: 312.9 kB / 0.5841 GB, free: 344 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.3353, allocations: 7.312 kB / 0.5841 GB, free: 340 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.268e-05/0.3353, allocations: 8.156 kB / 0.5841 GB, free: 336 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.3353, allocations: 25.31 kB / 0.5841 GB, free: 316 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3353, allocations: 1.031 kB / 0.5841 GB, free: 316 kB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.526e-05/0.3354, allocations: 47.89 kB / 0.5842 GB, free: 276 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3354, allocations: 9.312 kB / 0.5842 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.3355, allocations: 1.406 kB / 0.5842 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.3355, allocations: 0 / 0.5842 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.3355, allocations: 6.25 kB / 0.5842 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3355, allocations: 0.5625 kB / 0.5842 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.3356, allocations: 0.6875 kB / 0.5842 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3356, allocations: 1.516 kB / 0.5842 GB, free: 272 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 4.327e-05/0.3356, allocations: 108.3 kB / 0.5843 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.3356, allocations: 10.38 kB / 0.5843 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3358, allocations: 69.86 kB / 0.5844 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3358, allocations: 1.672 kB / 0.5844 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3358, allocations: 0 / 0.5844 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3358, allocations: 0 / 0.5844 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.3359, allocations: 165.7 kB / 0.5845 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3359, allocations: 3.938 kB / 0.5845 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.862e-05/0.3359, allocations: 5.547 kB / 0.5845 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.336, allocations: 5.094 kB / 0.5846 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.336, allocations: 1.094 kB / 0.5846 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.336, allocations: 0 / 0.5846 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.336, allocations: 2 kB / 0.5846 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.519e-05/0.3361, allocations: 73.95 kB / 0.5846 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.3361, allocations: 89.92 kB / 0.5847 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.3362, allocations: 1.875 kB / 0.5847 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.3362, allocations: 1.609 kB / 0.5847 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.3362, allocations: 5.719 kB / 0.5847 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3362, allocations: 2.781 kB / 0.5847 GB, free: 15.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.3363, allocations: 86.72 kB / 0.5848 GB, free: 15.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3363, allocations: 1.125 kB / 0.5848 GB, free: 15.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.3365, allocations: 24.94 kB / 0.5848 GB, free: 15.62 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.0005123/0.337, allocations: 0.6394 MB / 0.5855 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.3371, allocations: 19.67 kB / 0.5855 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3371, allocations: 6.125 kB / 0.5855 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.3371, allocations: 7.016 kB / 0.5855 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.3374, allocations: 1.938 kB / 0.5855 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.3377, allocations: 170.3 kB / 0.5857 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.338, allocations: 0.6872 MB / 0.5863 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.515e-05/0.338, allocations: 5.953 kB / 0.5863 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.379e-05/0.338, allocations: 13.94 kB / 0.5863 GB, free: 14.1 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.338, allocations: 0 / 0.5863 GB, free: 14.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4284/0.7665, allocations: 1.479 MB / 0.5878 GB, free: 13.88 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002995/0.7668, allocations: 201 kB / 0.588 GB, free: 13.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.733/2.5, allocations: 4 kB / 0.588 GB, free: 13.62 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)