Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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.001415/0.001415, 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.001633/0.001633, allocations: 193.1 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.281/1.281, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 283 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8625/0.8625, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 101.7 kB / 0.5954 GB, free: 27.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1212, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002076/0.1234, allocations: 1.219 MB / 0.6815 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000957/0.1243, allocations: 0.7021 MB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.1244, allocations: 7.938 kB / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.383e-05/0.1244, allocations: 0 / 0.6822 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.1245, allocations: 7.984 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1248, allocations: 95.62 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.673e-05/0.1248, allocations: 7.938 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.1248, allocations: 4 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.073e-05/0.1249, allocations: 11.98 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.415e-05/0.1249, allocations: 3.984 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.125, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.1252, allocations: 131.8 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.498e-06/0.1252, allocations: 7.938 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.1252, allocations: 4 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.1254, allocations: 84.08 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1254, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1254, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1254, allocations: 0 / 0.6825 GB, free: 14.3 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002834/0.1257, allocations: 331.5 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1257, allocations: 12.03 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.1258, allocations: 30.75 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.691e-05/0.1258, allocations: 0.9375 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.1259, allocations: 168.3 kB / 0.683 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.1259, allocations: 384 / 0.683 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.1259, allocations: 7.938 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.715e-05/0.126, allocations: 37.62 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.126, allocations: 0 / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.126, allocations: 8 kB / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.126, allocations: 0 / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.126, allocations: 4 kB / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.1262, allocations: 153.7 kB / 0.6832 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.163e-05/0.1262, allocations: 30.53 kB / 0.6833 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.1262, allocations: 8.859 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/0.1266, allocations: 417.5 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1266, allocations: 30.56 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1266, allocations: 0 / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001082/0.1267, allocations: 45.7 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1268, allocations: 55.39 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.695e-05/0.1268, allocations: 93.86 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.1268, allocations: 25.7 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.1269, allocations: 80.14 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1269, allocations: 11.78 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.1269, allocations: 17.72 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.127, allocations: 315.1 kB / 0.6843 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.127, allocations: 3.984 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.127, allocations: 7.938 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.1271, allocations: 12.86 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1271, allocations: 0 / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.35e-05/0.1271, allocations: 41.64 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1272, allocations: 8 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1272, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.1272, allocations: 4.094 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.237e-05/0.1272, allocations: 11.92 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.1272, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.1272, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.1273, allocations: 0 / 0.6844 GB, free: 12.04 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 (2): * Single equations (assignments): 2 * 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.293e-05/0.1273, allocations: 115 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-06/0.1273, allocations: 4 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.1274, allocations: 44.81 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1274, allocations: 32 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1274, allocations: 4 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.1274, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.823e-05/0.1275, allocations: 157.6 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1275, allocations: 0 / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.1275, allocations: 4 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1275, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.1276, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1276, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1276, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.669e-05/0.1276, allocations: 73 kB / 0.6848 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.1277, allocations: 85.02 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-06/0.1277, allocations: 0 / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.226e-05/0.1277, allocations: 4 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-06/0.1277, allocations: 0 / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.1277, allocations: 0 / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.301e-05/0.1277, allocations: 79.28 kB / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1278, allocations: 0 / 0.685 GB, free: 11.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002087/0.128, allocations: 28.11 kB / 0.685 GB, free: 11.35 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 (2): * Single equations (assignments): 2 * 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.0003454/0.1283, allocations: 0.6279 MB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.338e-05/0.1284, allocations: 8 kB / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.1284, allocations: 0 / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.1284, allocations: 12.09 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1285, allocations: 8.688 kB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.1288, allocations: 135.2 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.129, allocations: 0.6806 MB / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.387e-05/0.129, allocations: 0 / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.794e-05/0.1291, allocations: 11.44 kB / 0.6864 GB, free: 9.773 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1291, allocations: 0 / 0.6864 GB, free: 9.773 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.566/1.695, allocations: 1.517 MB / 0.6879 GB, free: 8.387 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.79, allocations: 10.5 kB / 0.6879 GB, free: 8.379 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)