Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.489/1.489, allocations: 252 MB / 267 MB, free: 10.98 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.001443/0.001443, allocations: 176.1 kB / 326.6 MB, free: 2.234 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.801/1.801, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.0007899/0.0007902, allocations: 84.03 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 9.312 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2587, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001628/0.2604, allocations: 0.9904 MB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005648/0.261, allocations: 275.2 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.2611, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.2611, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2612, allocations: 11.92 kB / 0.9015 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.2615, allocations: 63.84 kB / 0.9016 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.215e-05/0.2616, allocations: 27.86 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.2616, allocations: 3.984 kB / 0.9016 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.2617, allocations: 27.86 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.2618, allocations: 11.94 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.2618, allocations: 0 / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.262, allocations: 79.91 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.262, allocations: 4 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.262, allocations: 29.7 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2622, allocations: 51.88 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2622, allocations: 0 / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2622, allocations: 0 / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2622, allocations: 0 / 0.9018 GB, free: 62.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004096/0.2626, allocations: 351.5 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.2627, allocations: 8.031 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.2627, allocations: 42.5 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.2628, allocations: 3.938 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.2629, allocations: 167 kB / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.2629, allocations: 0 / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.2629, allocations: 0 / 0.9024 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.263, allocations: 41.69 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.2631, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.2631, allocations: 4 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2631, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.846e-05/0.2631, allocations: 15.97 kB / 0.9024 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.2633, allocations: 157.7 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.108e-05/0.2634, allocations: 38.52 kB / 0.9026 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.2634, allocations: 20.91 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008798/0.2643, allocations: 1.187 MB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.2644, allocations: 34.56 kB / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2644, allocations: 0 / 0.9038 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001518/0.2645, allocations: 53.53 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.2646, allocations: 55.41 kB / 0.9039 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.2646, allocations: 113.8 kB / 0.9041 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.2646, allocations: 25.7 kB / 0.9041 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.112e-05/0.2647, allocations: 84.14 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.2647, allocations: 3.906 kB / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.2647, allocations: 0 / 0.9042 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.2648, allocations: 318.8 kB / 0.9045 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.2648, allocations: 0 / 0.9045 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.323e-05/0.2648, allocations: 15.98 kB / 0.9045 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.992e-05/0.2648, allocations: 7.938 kB / 0.9045 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2648, allocations: 0 / 0.9045 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.007e-05/0.2649, allocations: 49.62 kB / 0.9045 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2649, allocations: 6.188 kB / 0.9045 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.2649, allocations: 0 / 0.9045 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.265, allocations: 4 kB / 0.9045 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.2651, allocations: 4 kB / 0.9045 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2651, allocations: 0 / 0.9045 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.2651, allocations: 7.844 kB / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.2651, allocations: 4 kB / 0.9046 GB, free: 58.93 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.2652, allocations: 113.8 kB / 0.9047 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.2652, allocations: 4 kB / 0.9047 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.2653, allocations: 57.58 kB / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2653, allocations: 0 / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.2653, allocations: 0 / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2653, allocations: 0 / 0.9047 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.92e-05/0.2654, allocations: 169.6 kB / 0.9049 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2654, allocations: 3.938 kB / 0.9049 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.2655, allocations: 4 kB / 0.9049 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2655, allocations: 0 / 0.9049 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.2655, allocations: 0 / 0.9049 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2655, allocations: 7.984 kB / 0.9049 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2655, allocations: 0 / 0.9049 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.048e-05/0.2656, allocations: 73.41 kB / 0.905 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.2656, allocations: 93.09 kB / 0.9051 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.2656, allocations: 0 / 0.9051 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.2657, allocations: 0 / 0.9051 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.2657, allocations: 7.984 kB / 0.9051 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2657, allocations: 4 kB / 0.9051 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.714e-05/0.2658, allocations: 83.28 kB / 0.9052 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2658, allocations: 0 / 0.9052 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002069/0.266, allocations: 27.98 kB / 0.9052 GB, free: 58.18 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003425/0.2663, allocations: 0.6455 MB / 0.9058 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.692e-05/0.2664, allocations: 16 kB / 0.9058 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2664, allocations: 3.938 kB / 0.9058 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.418e-05/0.2664, allocations: 15.92 kB / 0.9058 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.2667, allocations: 4 kB / 0.9058 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/0.267, allocations: 168.3 kB / 0.906 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.2672, allocations: 0.6809 MB / 0.9067 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.658e-05/0.2672, allocations: 12.53 kB / 0.9067 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.2673, allocations: 11.44 kB / 0.9067 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2673, allocations: 0 / 0.9067 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.2799, allocations: 1.434 MB / 0.9081 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.2802, allocations: 208.2 kB / 0.9083 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/1.972, allocations: 0 / 0.9083 GB, free: 55.04 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)