Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_8_Buildings_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.001101/0.001101, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.744/1.744, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 66.55 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2312, allocations: 114.6 MB / 0.7835 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003184/0.2344, allocations: 1.272 MB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005949/0.235, allocations: 302.9 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.2351, allocations: 0 / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.856e-05/0.2351, allocations: 3.938 kB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.688e-05/0.2352, allocations: 7.922 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.2355, allocations: 79.7 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.735e-05/0.2356, allocations: 43.84 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.2357, allocations: 4 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.2357, allocations: 23.92 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.2358, allocations: 7.938 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.2358, allocations: 0 / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.236, allocations: 87.91 kB / 0.7853 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.236, allocations: 3.984 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.686e-05/0.236, allocations: 15.92 kB / 0.7853 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.2362, allocations: 76.06 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2362, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2362, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2362, allocations: 3.938 kB / 0.7853 GB, free: 11.5 MB / 0.6075 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.0003666/0.2366, allocations: 347.4 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2366, allocations: 15.97 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.2367, allocations: 38.69 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.762e-05/0.2367, allocations: 4.844 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.2368, allocations: 176.2 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2368, allocations: 4.375 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.2369, allocations: 384 / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/0.237, allocations: 34.27 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.237, allocations: 3.938 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.237, allocations: 3.984 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.237, allocations: 0 / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.05e-05/0.237, allocations: 15.94 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.2372, allocations: 157.7 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/0.2373, allocations: 34.61 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.2373, allocations: 8.922 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.2384, allocations: 1.187 MB / 0.7873 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.2384, allocations: 34.56 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.2385, allocations: 0 / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001639/0.2386, allocations: 57.56 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.2387, allocations: 51.41 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.575e-05/0.2387, allocations: 109.8 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.2388, allocations: 29.7 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.2388, allocations: 84.14 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.2388, allocations: 7.906 kB / 0.7877 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.2389, allocations: 21.61 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.239, allocations: 310.8 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.239, allocations: 4 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.239, allocations: 8.188 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.857e-05/0.2391, allocations: 24.92 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2391, allocations: 4 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.786e-05/0.2392, allocations: 41.64 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2392, allocations: 7.938 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2392, allocations: 0 / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2392, allocations: 0 / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/0.2393, allocations: 7.984 kB / 0.7881 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2393, allocations: 7.938 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.2393, allocations: 4 kB / 0.7881 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.2393, allocations: 0 / 0.7881 GB, free: 8.191 MB / 0.6075 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 7.501e-05/0.2394, allocations: 106.5 kB / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.2394, allocations: 11.94 kB / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.2396, allocations: 65.44 kB / 0.7883 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2396, allocations: 3.984 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2396, allocations: 0 / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2396, allocations: 0 / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2397, allocations: 165.6 kB / 0.7884 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2397, allocations: 0 / 0.7884 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/0.2397, allocations: 8 kB / 0.7884 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2398, allocations: 3.938 kB / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.2398, allocations: 0 / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2398, allocations: 0 / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2398, allocations: 0 / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.596e-05/0.2399, allocations: 69.12 kB / 0.7885 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.2399, allocations: 96.94 kB / 0.7886 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.24, allocations: 3.938 kB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-05/0.24, allocations: 4 kB / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.24, allocations: 0 / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.24, allocations: 4 kB / 0.7886 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.993e-05/0.2401, allocations: 91.25 kB / 0.7887 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2401, allocations: 0 / 0.7887 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002074/0.2403, allocations: 27.94 kB / 0.7887 GB, free: 7.434 MB / 0.6075 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.0004219/0.2407, allocations: 0.6398 MB / 0.7894 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.333e-05/0.2408, allocations: 15.94 kB / 0.7894 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.2408, allocations: 0 / 0.7894 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.815e-05/0.2409, allocations: 12.28 kB / 0.7894 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.2411, allocations: 4.922 kB / 0.7894 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.2415, allocations: 167.6 kB / 0.7895 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.2418, allocations: 0.6808 MB / 0.7902 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.635e-05/0.2418, allocations: 11.97 kB / 0.7902 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.2418, allocations: 7.438 kB / 0.7902 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.2419, allocations: 4 kB / 0.7902 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.2577, allocations: 1.599 MB / 0.7918 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.312/7.57, allocations: 14.94 kB / 0.7918 GB, free: 4.281 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)