Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="BuildingSystems_BuildingSystems_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.001252/0.001252, 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.001226/0.001226, allocations: 197 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.289/1.289, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 287 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8734/0.8734, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 101.7 kB / 0.5954 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1206, allocations: 86.98 MB / 0.6803 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002136/0.1228, allocations: 1.285 MB / 0.6815 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004701/0.1233, allocations: 304.4 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.1233, allocations: 1.75 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.736e-05/0.1234, allocations: 3.984 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.1234, allocations: 7.922 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1237, allocations: 79.72 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.1238, allocations: 39.84 kB / 0.682 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.1238, allocations: 0 / 0.682 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.317e-05/0.1239, allocations: 23.92 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.1239, allocations: 15.92 kB / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1239, allocations: 0 / 0.682 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1241, allocations: 87.84 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.1241, allocations: 3.938 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.405e-05/0.1241, allocations: 11.94 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.1243, allocations: 80.06 kB / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1243, allocations: 0 / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1243, allocations: 0 / 0.6822 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1243, allocations: 0 / 0.6822 GB, free: 14.68 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.00031/0.1246, allocations: 351.4 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.1247, allocations: 12.03 kB / 0.6825 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.1247, allocations: 42.67 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.1247, allocations: 4.844 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.755e-05/0.1248, allocations: 172.3 kB / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1248, allocations: 384 / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.1248, allocations: 384 / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.803e-05/0.1249, allocations: 41.62 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1249, allocations: 0 / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.125, allocations: 8 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.125, allocations: 0 / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.44e-05/0.125, allocations: 8 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.1251, allocations: 157.7 kB / 0.6829 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.1252, allocations: 34.52 kB / 0.683 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.041e-05/0.1252, allocations: 12.92 kB / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009637/0.1262, allocations: 1.191 MB / 0.6841 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.1262, allocations: 30.56 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1262, allocations: 3.938 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000128/0.1264, allocations: 57.53 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.1264, allocations: 55.41 kB / 0.6843 GB, free: 12.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/0.1265, allocations: 106.1 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.1265, allocations: 25.7 kB / 0.6844 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.659e-05/0.1265, allocations: 88.12 kB / 0.6845 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1266, allocations: 7.906 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.1266, allocations: 13.72 kB / 0.6845 GB, free: 11.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.1267, allocations: 310.8 kB / 0.6848 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.1267, allocations: 8 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.1267, allocations: 7.984 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.1267, allocations: 25.12 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1268, allocations: 0 / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.046e-05/0.1268, allocations: 61.47 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1268, allocations: 4 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.1269, allocations: 0 / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.1269, allocations: 0 / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.1269, allocations: 4 kB / 0.6849 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1269, allocations: 12 kB / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.1269, allocations: 0 / 0.6849 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.127, allocations: 0 / 0.6849 GB, free: 11.36 MB / 494.1 MB 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 5.429e-05/0.127, allocations: 111.2 kB / 0.685 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.127, allocations: 7.938 kB / 0.685 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.1271, allocations: 65.52 kB / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1272, allocations: 0 / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1272, allocations: 0 / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1272, allocations: 0 / 0.6851 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.901e-05/0.1273, allocations: 161.7 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1273, allocations: 3.938 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.1273, allocations: 4 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1273, allocations: 0 / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.1273, allocations: 3.984 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1273, allocations: 0 / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1273, allocations: 0 / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.889e-05/0.1274, allocations: 77.03 kB / 0.6853 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1275, allocations: 92.98 kB / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.1275, allocations: 0 / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.1275, allocations: 0 / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.1275, allocations: 7.922 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.1276, allocations: 4 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.1276, allocations: 83.28 kB / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1276, allocations: 0 / 0.6855 GB, free: 10.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.1278, allocations: 31.92 kB / 0.6856 GB, free: 10.62 MB / 494.1 MB 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.000346/0.1282, allocations: 0.6397 MB / 0.6862 GB, free: 9.949 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.172e-05/0.1282, allocations: 23.92 kB / 0.6862 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1283, allocations: 0 / 0.6862 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.1283, allocations: 8 kB / 0.6862 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.1284, allocations: 0.75 kB / 0.6862 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.1288, allocations: 167.8 kB / 0.6864 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.129, allocations: 0.6807 MB / 0.687 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.09e-05/0.129, allocations: 8.375 kB / 0.687 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.129, allocations: 7.438 kB / 0.6871 GB, free: 8.992 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.129, allocations: 0 / 0.6871 GB, free: 8.992 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.885/3.014, allocations: 1.632 MB / 0.6886 GB, free: 7.488 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/16.23, allocations: 11.94 kB / 0.6887 GB, free: 7.477 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)