Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.341/1.341, allocations: 288.4 MB / 303.6 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008708/0.0008709, allocations: 183.1 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.085/1.085, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006586/0.0006586, allocations: 86.88 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 15.98 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1385, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.0008852/0.1394, allocations: 0.9901 MB / 0.9812 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003319/0.1397, allocations: 287.2 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.1398, allocations: 4 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.1398, allocations: 3.984 kB / 0.9814 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.1399, allocations: 7.922 kB / 0.9814 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.14, allocations: 51.81 kB / 0.9815 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.048e-05/0.1401, allocations: 35.84 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.1401, allocations: 4 kB / 0.9815 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.1402, allocations: 19.92 kB / 0.9815 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.1403, allocations: 11.92 kB / 0.9816 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1403, allocations: 4 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1404, allocations: 79.91 kB / 0.9816 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.1404, allocations: 3.938 kB / 0.9816 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.1404, allocations: 41.64 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.018e-05/0.1405, allocations: 52.14 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1405, allocations: 4 kB / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1405, allocations: 0 / 0.9817 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.1406, allocations: 3.938 kB / 0.9817 GB, free: 25.64 MB / 0.6198 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.0002339/0.1408, allocations: 347.5 kB / 0.9821 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.1408, allocations: 8.031 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.1409, allocations: 34.75 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.028e-05/0.1409, allocations: 8.844 kB / 0.9821 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.75e-05/0.141, allocations: 164.3 kB / 0.9823 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.141, allocations: 8.359 kB / 0.9823 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.141, allocations: 384 / 0.9823 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.15e-05/0.1411, allocations: 34.27 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.1411, allocations: 7.875 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.1411, allocations: 0 / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.1411, allocations: 8 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.1411, allocations: 7.984 kB / 0.9823 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.154e-05/0.1412, allocations: 157.7 kB / 0.9825 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.864e-05/0.1413, allocations: 34.67 kB / 0.9825 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.558e-05/0.1413, allocations: 16.8 kB / 0.9825 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006713/0.142, allocations: 1.191 MB / 0.9837 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.142, allocations: 34.5 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.142, allocations: 0 / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001138/0.1421, allocations: 57.53 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.382e-05/0.1422, allocations: 55.41 kB / 0.9838 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.998e-05/0.1422, allocations: 105.8 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-06/0.1422, allocations: 25.7 kB / 0.984 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.143e-05/0.1422, allocations: 88.14 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.1423, allocations: 3.906 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.1423, allocations: 0 / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.24e-05/0.1423, allocations: 314.8 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.1423, allocations: 8 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.1423, allocations: 4 kB / 0.9844 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.1424, allocations: 24.8 kB / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1424, allocations: 0 / 0.9844 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.134e-05/0.1424, allocations: 41.69 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1424, allocations: 9.656 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.1424, allocations: 0 / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.1425, allocations: 0 / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.14e-05/0.1425, allocations: 4 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1425, allocations: 0 / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.57e-05/0.1425, allocations: 8 kB / 0.9845 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.1425, allocations: 3.984 kB / 0.9845 GB, free: 22.37 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.1426, allocations: 113.8 kB / 0.9846 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.1426, allocations: 11.84 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.415e-05/0.1427, allocations: 61.53 kB / 0.9846 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1427, allocations: 3.938 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1427, allocations: 0 / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.1427, allocations: 0 / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.372e-05/0.1428, allocations: 165.6 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1428, allocations: 4 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.1428, allocations: 4 kB / 0.9848 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1428, allocations: 3.938 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.1428, allocations: 3.938 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1428, allocations: 4 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1428, allocations: 0 / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.689e-05/0.1429, allocations: 76.97 kB / 0.9849 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.1429, allocations: 89.09 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.143, allocations: 7.938 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.143, allocations: 0 / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.143, allocations: 432 / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.143, allocations: 4 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.024e-05/0.143, allocations: 87.27 kB / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.143, allocations: 0 / 0.9851 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001724/0.1432, allocations: 27.94 kB / 0.9851 GB, free: 21.61 MB / 0.6198 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 (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.0002318/0.1435, allocations: 0.6397 MB / 0.9857 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.536e-05/0.1435, allocations: 15.98 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1435, allocations: 0 / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/0.1435, allocations: 8 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.1437, allocations: 5.031 kB / 0.9857 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.144, allocations: 184.1 kB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.704e-05/0.144, allocations: 0.6809 MB / 0.9866 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.1441, allocations: 16.47 kB / 0.9866 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.1441, allocations: 11.44 kB / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.1441, allocations: 0 / 0.9866 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.873/2.017, allocations: 1.42 MB / 0.988 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/2.017, allocations: 216.8 kB / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/3.491, allocations: 0 / 0.9882 GB, free: 18.46 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_maint.8.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)