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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006481/0.006481, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001284/0.001284, allocations: 197.4 kB / 16.68 MB, free: 5.965 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9659/0.9659, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.89 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4154, allocations: 80.9 MB / 0.6642 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001898/0.4173, allocations: 1.308 MB / 0.6654 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004397/0.4178, allocations: 298.2 kB / 0.6657 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.896e-05/0.4178, allocations: 1.188 kB / 0.6657 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.4178, allocations: 7.938 kB / 0.6657 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.322e-05/0.4179, allocations: 13 kB / 0.6657 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.4182, allocations: 75.94 kB / 0.6658 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.4182, allocations: 37.14 kB / 0.6658 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.4183, allocations: 2.375 kB / 0.6658 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.451e-05/0.4184, allocations: 33.78 kB / 0.6659 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.4184, allocations: 7.938 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.4185, allocations: 1.375 kB / 0.6659 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.4186, allocations: 82.88 kB / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.4186, allocations: 13.16 kB / 0.666 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.4187, allocations: 12.75 kB / 0.666 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.4188, allocations: 77.09 kB / 0.6661 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4188, allocations: 0 / 0.6661 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4188, allocations: 0 / 0.6661 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.4188, allocations: 1.281 kB / 0.6661 GB, free: 5.797 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.0002882/0.4191, allocations: 348.9 kB / 0.6664 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.4192, allocations: 9.531 kB / 0.6664 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.475e-05/0.4192, allocations: 32.06 kB / 0.6664 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.486e-05/0.4192, allocations: 10.39 kB / 0.6664 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.437e-05/0.4193, allocations: 174.5 kB / 0.6666 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.4193, allocations: 5.719 kB / 0.6666 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.4193, allocations: 5.375 kB / 0.6666 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.979e-05/0.4194, allocations: 38.97 kB / 0.6667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4194, allocations: 0 / 0.6667 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.4194, allocations: 5.531 kB / 0.6667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.4194, allocations: 0 / 0.6667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.4195, allocations: 6.344 kB / 0.6667 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.4196, allocations: 154.7 kB / 0.6668 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.4197, allocations: 46.91 kB / 0.6669 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.4197, allocations: 16.77 kB / 0.6669 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/0.4205, allocations: 1.185 MB / 0.668 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/0.4205, allocations: 40.16 kB / 0.6681 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4205, allocations: 0 / 0.6681 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001328/0.4206, allocations: 51.81 kB / 0.6681 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/0.4207, allocations: 52.72 kB / 0.6682 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.4207, allocations: 115 kB / 0.6683 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.4207, allocations: 25.7 kB / 0.6683 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.272e-05/0.4207, allocations: 81.36 kB / 0.6684 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.4208, allocations: 13.02 kB / 0.6684 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.4208, allocations: 17.94 kB / 0.6684 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.667e-05/0.4208, allocations: 312.1 kB / 0.6687 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.4209, allocations: 6.719 kB / 0.6687 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.4209, allocations: 2.688 kB / 0.6687 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.4209, allocations: 20.91 kB / 0.6687 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4209, allocations: 0 / 0.6687 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.866e-05/0.421, allocations: 46.3 kB / 0.6688 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.421, allocations: 8.266 kB / 0.6688 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.421, allocations: 1.344 kB / 0.6688 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.421, allocations: 4 kB / 0.6688 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/0.4211, allocations: 8.469 kB / 0.6688 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.4211, allocations: 0 / 0.6688 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.4211, allocations: 1.312 kB / 0.6688 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.4211, allocations: 1.156 kB / 0.6688 GB, free: 2.715 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 4.093e-05/0.4212, allocations: 107.2 kB / 0.6689 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.4212, allocations: 10.59 kB / 0.6689 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.4213, allocations: 63.86 kB / 0.669 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4213, allocations: 1.625 kB / 0.669 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4213, allocations: 0 / 0.669 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4213, allocations: 0 / 0.669 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.127e-05/0.4214, allocations: 167.2 kB / 0.6691 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4214, allocations: 1.375 kB / 0.6691 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.73e-05/0.4214, allocations: 7.969 kB / 0.6692 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4214, allocations: 1.656 kB / 0.6692 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.4214, allocations: 0 / 0.6692 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4214, allocations: 13.31 kB / 0.6692 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4215, allocations: 0 / 0.6692 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.661e-05/0.4215, allocations: 78.88 kB / 0.6692 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.4216, allocations: 83.69 kB / 0.6693 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.4216, allocations: 1.469 kB / 0.6693 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.894e-05/0.4216, allocations: 1.562 kB / 0.6693 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.4216, allocations: 9.141 kB / 0.6693 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4217, allocations: 5.406 kB / 0.6693 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.4217, allocations: 88.72 kB / 0.6694 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4217, allocations: 0 / 0.6694 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002018/0.4219, allocations: 32.95 kB / 0.6695 GB, free: 2.027 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.000272/0.4222, allocations: 0.6316 MB / 0.6701 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.556e-05/0.4223, allocations: 14.31 kB / 0.6701 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4223, allocations: 5.125 kB / 0.6701 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.59e-05/0.4223, allocations: 13.61 kB / 0.6701 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.4225, allocations: 4.375 kB / 0.6701 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003162/0.4228, allocations: 168.3 kB / 0.6703 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.554e-05/0.4229, allocations: 0.6789 MB / 0.6709 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.813e-05/0.423, allocations: 7.219 kB / 0.6709 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.423, allocations: 10.44 kB / 0.6709 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.423, allocations: 0 / 0.6709 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.443, allocations: 1.622 MB / 0.6725 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.265, allocations: 1.688 kB / 0.6725 GB, free: 15.62 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)