Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.0007735/0.0007736, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008541/0.0008542, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7545/0.7545, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 11.98 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4268, allocations: 81.57 MB / 0.5832 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001367/0.4283, allocations: 0.9825 MB / 0.5841 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002831/0.4286, allocations: 113.4 kB / 0.5842 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.4286, allocations: 3.938 kB / 0.5842 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.4286, allocations: 0 / 0.5842 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.4287, allocations: 6.547 kB / 0.5842 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.4289, allocations: 23.78 kB / 0.5843 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.877e-05/0.4289, allocations: 15.95 kB / 0.5843 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.429, allocations: 1.578 kB / 0.5843 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.897e-05/0.429, allocations: 7.438 kB / 0.5843 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.4291, allocations: 12.05 kB / 0.5843 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.4291, allocations: 1.438 kB / 0.5843 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.4292, allocations: 46.34 kB / 0.5843 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.4292, allocations: 1.5 kB / 0.5843 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.4293, allocations: 27.11 kB / 0.5844 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.42e-05/0.4294, allocations: 26.53 kB / 0.5844 GB, free: 3.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.4294, allocations: 3.938 kB / 0.5844 GB, free: 3.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.4294, allocations: 1.312 kB / 0.5844 GB, free: 3.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.4294, allocations: 0 / 0.5844 GB, free: 3.125 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003635/0.4298, allocations: 333.5 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.4298, allocations: 9.312 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.4299, allocations: 35.31 kB / 0.5848 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.4299, allocations: 5.484 kB / 0.5848 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.43, allocations: 169.6 kB / 0.5849 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.43, allocations: 0 / 0.5849 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.43, allocations: 1.312 kB / 0.5849 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.94e-05/0.4301, allocations: 34.83 kB / 0.585 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.4301, allocations: 4.75 kB / 0.585 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.4302, allocations: 0 / 0.585 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4302, allocations: 0.7188 kB / 0.585 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.019e-05/0.4302, allocations: 7.719 kB / 0.585 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.4303, allocations: 152.3 kB / 0.5851 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.4304, allocations: 29.81 kB / 0.5851 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.569e-05/0.4304, allocations: 7.531 kB / 0.5851 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/0.431, allocations: 0.6117 MB / 0.5857 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.431, allocations: 36.53 kB / 0.5858 GB, free: 1.535 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.431, allocations: 0 / 0.5858 GB, free: 1.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001254/0.4311, allocations: 37.3 kB / 0.5858 GB, free: 1.504 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.4312, allocations: 52.44 kB / 0.5859 GB, free: 1.441 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.656e-05/0.4312, allocations: 103.7 kB / 0.586 GB, free: 1.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.4312, allocations: 30.52 kB / 0.586 GB, free: 1.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.4313, allocations: 83.56 kB / 0.5861 GB, free: 1.219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.4313, allocations: 5.422 kB / 0.5861 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-06/0.4313, allocations: 0 / 0.5861 GB, free: 1.215 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.4313, allocations: 321 kB / 0.5864 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.4313, allocations: 1.75 kB / 0.5864 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.618e-06/0.4314, allocations: 3.219 kB / 0.5864 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.633e-05/0.4314, allocations: 2.594 kB / 0.5864 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4314, allocations: 4.062 kB / 0.5864 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.66e-05/0.4315, allocations: 44.61 kB / 0.5864 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4315, allocations: 5.5 kB / 0.5864 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4315, allocations: 3.984 kB / 0.5864 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.4315, allocations: 1.812 kB / 0.5864 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.762e-05/0.4316, allocations: 3.078 kB / 0.5864 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4316, allocations: 1.25 kB / 0.5865 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.4316, allocations: 4 kB / 0.5865 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.4316, allocations: 5.719 kB / 0.5865 GB, free: 0.8398 MB / 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/0.4316, allocations: 115.8 kB / 0.5866 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-06/0.4317, allocations: 9.062 kB / 0.5866 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.324e-05/0.4317, allocations: 45.05 kB / 0.5866 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.4318, allocations: 0 / 0.5866 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4318, allocations: 0.6562 kB / 0.5866 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4318, allocations: 1.125 kB / 0.5866 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.105e-05/0.4318, allocations: 160.3 kB / 0.5868 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4318, allocations: 0 / 0.5868 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.4319, allocations: 3.281 kB / 0.5868 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.4319, allocations: 5.703 kB / 0.5868 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4319, allocations: 0 / 0.5868 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4319, allocations: 1.469 kB / 0.5868 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4319, allocations: 0.5156 kB / 0.5868 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.007e-05/0.432, allocations: 67.8 kB / 0.5869 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.432, allocations: 80.34 kB / 0.5869 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.432, allocations: 0 / 0.5869 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.745e-05/0.432, allocations: 6.062 kB / 0.5869 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.44e-05/0.4321, allocations: 0.6094 kB / 0.5869 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.4321, allocations: 1.25 kB / 0.5869 GB, free: 304 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.101e-05/0.4321, allocations: 83.28 kB / 0.587 GB, free: 224 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4321, allocations: 0 / 0.587 GB, free: 224 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002022/0.4323, allocations: 17.27 kB / 0.587 GB, free: 220 kB / 430.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003789/0.4327, allocations: 0.6154 MB / 0.5876 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.229e-05/0.4328, allocations: 12 kB / 0.5876 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4328, allocations: 0 / 0.5876 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.108e-05/0.4328, allocations: 3.969 kB / 0.5876 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.433, allocations: 6.031 kB / 0.5877 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.4336, allocations: 356.3 kB / 0.588 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.4339, allocations: 0.6755 MB / 0.5887 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.4339, allocations: 1.719 kB / 0.5887 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.4339, allocations: 9.328 kB / 0.5887 GB, free: 14.55 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4339, allocations: 64 / 0.5887 GB, free: 14.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0107/0.4446, allocations: 1.212 MB / 0.5898 GB, free: 14.42 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/0.4448, allocations: 184.1 kB / 0.59 GB, free: 14.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.997, allocations: 1.25 kB / 0.59 GB, free: 14.18 MB / 446.1 MB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: