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.001511/0.001511, allocations: 108 kB / 15.61 MB, free: 152 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.001227/0.001227, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.709/1.709, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.574/1.574, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002654/0.002654, allocations: 72.28 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2292, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.004157/0.2334, allocations: 1.284 MB / 0.5857 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2345, allocations: 302.9 kB / 0.586 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.2346, allocations: 0 / 0.586 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.968e-05/0.2346, allocations: 0 / 0.586 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.2348, allocations: 15.86 kB / 0.586 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.2353, allocations: 79.77 kB / 0.5861 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2354, allocations: 35.84 kB / 0.5861 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.307e-05/0.2355, allocations: 8 kB / 0.5862 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.2357, allocations: 27.86 kB / 0.5862 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.2357, allocations: 11.88 kB / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2358, allocations: 0 / 0.5862 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.2361, allocations: 83.91 kB / 0.5863 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.2361, allocations: 11.98 kB / 0.5863 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.2362, allocations: 11.92 kB / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.2364, allocations: 72.08 kB / 0.5864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2365, allocations: 0 / 0.5864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2365, allocations: 0 / 0.5864 GB, free: 2.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.351e-06/0.2365, allocations: 4 kB / 0.5864 GB, free: 2.52 MB / 494.1 MB 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.0005717/0.2371, allocations: 355.3 kB / 0.5867 GB, free: 2.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.2371, allocations: 12.03 kB / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.2372, allocations: 30.75 kB / 0.5867 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.2373, allocations: 8.938 kB / 0.5868 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.2375, allocations: 172.3 kB / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2375, allocations: 384 / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.2375, allocations: 4.375 kB / 0.5869 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2377, allocations: 41.62 kB / 0.587 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2377, allocations: 0 / 0.587 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.2377, allocations: 0 / 0.587 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2378, allocations: 3.938 kB / 0.587 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.2378, allocations: 12 kB / 0.587 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.2391, allocations: 157.7 kB / 0.5871 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.2392, allocations: 34.61 kB / 0.5872 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.2393, allocations: 8.922 kB / 0.5872 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002107/0.2414, allocations: 1.191 MB / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.2415, allocations: 30.56 kB / 0.5884 GB, free: 48 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/0.2415, allocations: 0 / 0.5884 GB, free: 48 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002748/0.2418, allocations: 53.62 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.2418, allocations: 51.41 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.242, allocations: 109.8 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.242, allocations: 29.7 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.2421, allocations: 84.14 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.2422, allocations: 11.75 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.2422, allocations: 21.7 kB / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2424, allocations: 310.8 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.2425, allocations: 4 kB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.719e-05/0.2425, allocations: 4 kB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.749e-05/0.2426, allocations: 29.05 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2426, allocations: 0 / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001604/0.2428, allocations: 45.64 kB / 0.5891 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2428, allocations: 11.98 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2428, allocations: 3.938 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2429, allocations: 3.938 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.243, allocations: 8 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.243, allocations: 0 / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.243, allocations: 0 / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2431, allocations: 4 kB / 0.5891 GB, free: 15.21 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 0.000112/0.2432, allocations: 113.8 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.2432, allocations: 7.844 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.2435, allocations: 69.52 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2435, allocations: 0 / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2435, allocations: 0 / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2435, allocations: 0 / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.2437, allocations: 157.7 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.2437, allocations: 3.938 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.2438, allocations: 4 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2438, allocations: 0 / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2438, allocations: 4 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2439, allocations: 0 / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2439, allocations: 4 kB / 0.5895 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.244, allocations: 69.06 kB / 0.5895 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.2441, allocations: 92.94 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.2442, allocations: 4 kB / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.2443, allocations: 0 / 0.5896 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.2443, allocations: 11.98 kB / 0.5896 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.2443, allocations: 0 / 0.5896 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.031e-05/0.2444, allocations: 87.28 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2444, allocations: 0 / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004347/0.2449, allocations: 31.92 kB / 0.5897 GB, free: 14.46 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.0006591/0.2456, allocations: 0.6358 MB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.2457, allocations: 12 kB / 0.5904 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.2457, allocations: 0 / 0.5904 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.984e-05/0.2458, allocations: 15.98 kB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2462, allocations: 2.5 kB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000668/0.2469, allocations: 177.5 kB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.2472, allocations: 0.6846 MB / 0.5912 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.789e-05/0.2473, allocations: 4 kB / 0.5912 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.2474, allocations: 11.44 kB / 0.5912 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.2474, allocations: 3.938 kB / 0.5913 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0345/0.2819, allocations: 1.606 MB / 0.5928 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.08, allocations: 0 / 0.5928 GB, free: 11.32 MB / 0.4981 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)