Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.21/1.21, allocations: 251.5 MB / 266.7 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009361/0.0009363, allocations: 173.5 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205 MB / 0.576 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006876/0.0006876, allocations: 88.08 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002723, allocations: 13.77 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.0009895/0.143, allocations: 0.9783 MB / 0.8971 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002414/0.1432, allocations: 139.4 kB / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.411e-05/0.1432, allocations: 0 / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.1433, allocations: 4 kB / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.1433, allocations: 4 kB / 0.8973 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.1435, allocations: 27.89 kB / 0.8973 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.761e-05/0.1435, allocations: 11.92 kB / 0.8973 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.1436, allocations: 4 kB / 0.8973 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.719e-05/0.1436, allocations: 11.94 kB / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.1436, allocations: 0 / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.1436, allocations: 0 / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.1437, allocations: 55.94 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.226e-06/0.1437, allocations: 4 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.1438, allocations: 11.91 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.194e-05/0.1439, allocations: 40.17 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1439, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1439, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.1439, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB 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.0002288/0.1441, allocations: 323.6 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.1442, allocations: 8.031 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.291e-05/0.1442, allocations: 38.75 kB / 0.8978 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.837e-05/0.1442, allocations: 8.812 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.092e-05/0.1443, allocations: 164.3 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.1443, allocations: 384 / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.1443, allocations: 4.375 kB / 0.898 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.238e-05/0.1444, allocations: 34.25 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.1444, allocations: 3.938 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.1444, allocations: 4 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1444, allocations: 0 / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.134e-05/0.1444, allocations: 4 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.917e-05/0.1445, allocations: 153.7 kB / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.566e-05/0.1446, allocations: 26.55 kB / 0.8982 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.389e-05/0.1446, allocations: 4.859 kB / 0.8982 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.1451, allocations: 0.6169 MB / 0.8988 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.1451, allocations: 34.56 kB / 0.8988 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.1451, allocations: 0 / 0.8988 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001061/0.1452, allocations: 45.55 kB / 0.8989 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.1452, allocations: 55.34 kB / 0.8989 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.892e-05/0.1453, allocations: 97.84 kB / 0.899 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.33e-06/0.1453, allocations: 29.7 kB / 0.899 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.499e-05/0.1453, allocations: 80.14 kB / 0.8991 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.1453, allocations: 11.97 kB / 0.8991 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.1453, allocations: 13.72 kB / 0.8991 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.274e-05/0.1454, allocations: 311.7 kB / 0.8994 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.1454, allocations: 7.984 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-06/0.1454, allocations: 0 / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.22e-05/0.1454, allocations: 16.86 kB / 0.8995 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1454, allocations: 0 / 0.8995 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.798e-05/0.1455, allocations: 37.7 kB / 0.8995 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1455, allocations: 15.97 kB / 0.8995 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1455, allocations: 0 / 0.8995 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.1455, allocations: 4 kB / 0.8995 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/0.1456, allocations: 3.984 kB / 0.8995 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.1456, allocations: 0 / 0.8995 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.644e-05/0.1456, allocations: 4 kB / 0.8995 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1456, allocations: 4.188 kB / 0.8995 GB, free: 64.29 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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.455e-05/0.1457, allocations: 109.8 kB / 0.8996 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.1457, allocations: 3.938 kB / 0.8996 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.829e-05/0.1457, allocations: 60.78 kB / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1458, allocations: 0 / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1458, allocations: 0 / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1458, allocations: 0 / 0.8997 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.902e-05/0.1458, allocations: 157.7 kB / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1458, allocations: 0 / 0.8999 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.1459, allocations: 7.938 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1459, allocations: 3.938 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.1459, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1459, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1459, allocations: 4.031 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.981e-05/0.1459, allocations: 65.12 kB / 0.8999 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.146, allocations: 81.02 kB / 0.9 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.146, allocations: 3.938 kB / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.489e-05/0.146, allocations: 0 / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.145e-05/0.146, allocations: 0 / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.146, allocations: 4 kB / 0.9 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.658e-05/0.146, allocations: 87.3 kB / 0.9001 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.146, allocations: 0 / 0.9001 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001739/0.1462, allocations: 16 kB / 0.9001 GB, free: 63.6 MB / 0.6042 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 (2): * Single equations (assignments): 2 * 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.0002031/0.1464, allocations: 0.6085 MB / 0.9007 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.59e-05/0.1465, allocations: 12.03 kB / 0.9007 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1465, allocations: 0 / 0.9007 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.1465, allocations: 19.86 kB / 0.9007 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.1467, allocations: 7.938 kB / 0.9007 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005376/0.1472, allocations: 1.089 MB / 0.9018 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.325e-05/0.1473, allocations: 0.677 MB / 0.9025 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.1474, allocations: 8.062 kB / 0.9025 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.1474, allocations: 7.438 kB / 0.9025 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.1474, allocations: 0 / 0.9025 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/0.3126, allocations: 1.23 MB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001368/0.3127, allocations: 216.8 kB / 0.9039 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/1.806, allocations: 4 kB / 0.9039 GB, free: 59.7 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)