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: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002167/0.002167, allocations: 192.9 kB / 16.14 MB, free: 6.703 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.418/1.418, allocations: 205.1 MB / 222 MB, free: 4.746 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.652/1.652, allocations: 292.2 MB / 0.5484 GB, free: 13.71 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.002037/0.002037, allocations: 61.38 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2467, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.00237/0.2491, allocations: 1.344 MB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005632/0.2497, allocations: 326.9 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.2497, allocations: 0 / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.2497, allocations: 3.938 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.99e-05/0.2498, allocations: 7.922 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.2501, allocations: 55.86 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.258e-05/0.2501, allocations: 35.86 kB / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.058e-05/0.2502, allocations: 0 / 0.7844 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.4e-05/0.2503, allocations: 27.84 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.2503, allocations: 11.94 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.2503, allocations: 0 / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.2505, allocations: 87.91 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.2505, allocations: 3.984 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.782e-05/0.2506, allocations: 15.88 kB / 0.7845 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.2507, allocations: 76.06 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2507, allocations: 0 / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.72e-07/0.2507, allocations: 0 / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.2507, allocations: 0 / 0.7846 GB, free: 12.02 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.0003833/0.2511, allocations: 351.5 kB / 0.7849 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.2511, allocations: 8.031 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.2512, allocations: 12.84 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2513, allocations: 168.4 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2513, allocations: 384 / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.2513, allocations: 8.375 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/0.2514, allocations: 38.19 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.2514, allocations: 192 / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2515, allocations: 3.938 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2515, allocations: 7.938 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.483e-05/0.2515, allocations: 8 kB / 0.7852 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.2517, allocations: 169.5 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.868e-05/0.2518, allocations: 34.67 kB / 0.7854 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/0.2518, allocations: 12.8 kB / 0.7854 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/0.2529, allocations: 1.187 MB / 0.7866 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.2529, allocations: 34.56 kB / 0.7866 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.2529, allocations: 0 / 0.7866 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.00014/0.253, allocations: 53.62 kB / 0.7866 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.2531, allocations: 51.41 kB / 0.7867 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.2532, allocations: 109.8 kB / 0.7868 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.2532, allocations: 25.7 kB / 0.7868 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.865e-05/0.2532, allocations: 85.2 kB / 0.7869 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.2532, allocations: 7.891 kB / 0.7869 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.2533, allocations: 21.62 kB / 0.7869 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2534, allocations: 310.8 kB / 0.7872 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.2534, allocations: 7.938 kB / 0.7872 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.2534, allocations: 11.94 kB / 0.7872 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.612e-05/0.2535, allocations: 20.84 kB / 0.7873 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.2535, allocations: 0 / 0.7873 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.354e-05/0.2536, allocations: 41.98 kB / 0.7873 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2536, allocations: 7.984 kB / 0.7873 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2536, allocations: 3.984 kB / 0.7873 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.2536, allocations: 3.984 kB / 0.7873 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.2537, allocations: 8 kB / 0.7873 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2537, allocations: 3.938 kB / 0.7873 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.2537, allocations: 4 kB / 0.7873 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2537, allocations: 0 / 0.7873 GB, free: 8.75 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.364e-05/0.2538, allocations: 109.8 kB / 0.7874 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.2538, allocations: 4 kB / 0.7874 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.2539, allocations: 65.52 kB / 0.7875 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2539, allocations: 0 / 0.7875 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2539, allocations: 0 / 0.7875 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2539, allocations: 0 / 0.7875 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.2541, allocations: 161.6 kB / 0.7877 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2541, allocations: 0 / 0.7877 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.2541, allocations: 4 kB / 0.7877 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2541, allocations: 4 kB / 0.7877 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2541, allocations: 11.94 kB / 0.7877 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2541, allocations: 3.938 kB / 0.7877 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2541, allocations: 0 / 0.7877 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.765e-05/0.2542, allocations: 65.12 kB / 0.7877 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.2543, allocations: 93.03 kB / 0.7878 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.2543, allocations: 3.938 kB / 0.7878 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.836e-05/0.2544, allocations: 0 / 0.7878 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.2544, allocations: 11.98 kB / 0.7878 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.2544, allocations: 0 / 0.7878 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.2544, allocations: 87.28 kB / 0.7879 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2544, allocations: 0 / 0.7879 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002091/0.2546, allocations: 31.92 kB / 0.788 GB, free: 7.996 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.000175/0.2548, allocations: 119.2 kB / 0.7881 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.893e-05/0.2549, allocations: 23.88 kB / 0.7881 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2549, allocations: 0 / 0.7881 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-05/0.2549, allocations: 8 kB / 0.7881 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.2551, allocations: 7.984 kB / 0.7881 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.2554, allocations: 135.8 kB / 0.7882 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2556, allocations: 0.677 MB / 0.7889 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.2557, allocations: 8.547 kB / 0.7889 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.629e-05/0.2557, allocations: 11.44 kB / 0.7889 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2557, allocations: 0 / 0.7889 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of Templates: time 0.002476/0.2582, allocations: 0.7753 MB / 0.7897 GB, free: 6.176 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (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 & ./Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)