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.001344/0.001344, allocations: 109.4 kB / 15.69 MB, free: 128 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.001586/0.001586, allocations: 186.9 kB / 16.62 MB, free: 6.613 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.664/1.664, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.7/1.7, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001434/0.001434, allocations: 72.11 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.241, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002841/0.2439, allocations: 1.279 MB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005006/0.2444, allocations: 287 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.2445, allocations: 0 / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.2445, allocations: 11.88 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.2446, allocations: 19.91 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2449, allocations: 75.72 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.382e-05/0.245, allocations: 31.91 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.2451, allocations: 4 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.258e-05/0.2452, allocations: 31.86 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.2452, allocations: 15.91 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2453, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.2454, allocations: 83.91 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.2455, allocations: 0 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.2455, allocations: 11.94 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2457, allocations: 80.06 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2457, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2457, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.2457, allocations: 4 kB / 0.7855 GB, free: 11.3 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.0003966/0.2461, allocations: 343.4 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2461, allocations: 19.95 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.2462, allocations: 30.75 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.2462, allocations: 12.84 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2464, allocations: 168.2 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2464, allocations: 8.312 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.2464, allocations: 4.375 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.2465, allocations: 38.25 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.2465, allocations: 3.938 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.2465, allocations: 0 / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2465, allocations: 0 / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.2466, allocations: 15.98 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.2467, allocations: 153.7 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.363e-05/0.2468, allocations: 38.52 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.957e-05/0.2469, allocations: 8.922 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009957/0.2479, allocations: 1.183 MB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2479, allocations: 38.5 kB / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2479, allocations: 0 / 0.7875 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001541/0.2481, allocations: 53.62 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.2481, allocations: 51.41 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/0.2482, allocations: 117.8 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2482, allocations: 29.7 kB / 0.7877 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.2482, allocations: 84.08 kB / 0.7878 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.2483, allocations: 7.891 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.2483, allocations: 25.62 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.2484, allocations: 310.8 kB / 0.7881 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.2484, allocations: 4 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.2485, allocations: 7.984 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.2485, allocations: 17.14 kB / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2485, allocations: 0 / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.14e-05/0.2486, allocations: 49.67 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2486, allocations: 7.938 kB / 0.7882 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.2486, allocations: 0 / 0.7882 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.2486, allocations: 4 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.2487, allocations: 11.94 kB / 0.7882 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2487, allocations: 3.938 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.2487, allocations: 0 / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.2487, allocations: 0 / 0.7883 GB, free: 7.984 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.611e-05/0.2488, allocations: 114.5 kB / 0.7884 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.2488, allocations: 3.938 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.249, allocations: 69.48 kB / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.249, allocations: 0 / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.249, allocations: 0 / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.249, allocations: 0 / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.2491, allocations: 157.7 kB / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2491, allocations: 0 / 0.7886 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.2492, allocations: 7.938 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2492, allocations: 3.938 kB / 0.7886 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2492, allocations: 3.984 kB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.2492, allocations: 4 kB / 0.7886 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2492, allocations: 8 kB / 0.7886 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.362e-05/0.2493, allocations: 65.12 kB / 0.7887 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.2494, allocations: 85.02 kB / 0.7887 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2494, allocations: 7.938 kB / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.2494, allocations: 0 / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.489e-05/0.2494, allocations: 7.984 kB / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.2494, allocations: 0 / 0.7888 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.2495, allocations: 91.28 kB / 0.7889 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2495, allocations: 3.938 kB / 0.7889 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002033/0.2497, allocations: 31.92 kB / 0.7889 GB, free: 7.223 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.0004148/0.2501, allocations: 0.6358 MB / 0.7895 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.608e-05/0.2502, allocations: 8 kB / 0.7895 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2502, allocations: 4 kB / 0.7895 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.008e-05/0.2503, allocations: 15.92 kB / 0.7895 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.2505, allocations: 4 kB / 0.7895 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/0.2509, allocations: 167.5 kB / 0.7897 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.2512, allocations: 0.6807 MB / 0.7904 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.2512, allocations: 8 kB / 0.7904 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.2512, allocations: 11.44 kB / 0.7904 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2512, allocations: 0 / 0.7904 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.268, allocations: 1.62 MB / 0.792 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.37/7.638, allocations: 10.8 kB / 0.792 GB, free: 4.082 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)