Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.004263/0.004263, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001268/0.001268, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8328/0.8328, allocations: 132.2 MB / 422.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.91 kB / 0.5809 GB, free: 8.051 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3283, allocations: 80.21 MB / 0.6592 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002051/0.3304, allocations: 1.44 MB / 0.6606 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3316, allocations: 0.8909 MB / 0.6615 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.3316, allocations: 1.375 kB / 0.6615 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.3317, allocations: 8.453 kB / 0.6615 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004741/0.3322, allocations: 133.8 kB / 0.6616 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.3325, allocations: 105.9 kB / 0.6617 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3326, allocations: 68.92 kB / 0.6618 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.3326, allocations: 8.094 kB / 0.6618 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.3327, allocations: 39.36 kB / 0.6618 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.3328, allocations: 44.2 kB / 0.6619 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3328, allocations: 3.906 kB / 0.6619 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.3332, allocations: 227.1 kB / 0.6621 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.3333, allocations: 57.25 kB / 0.6621 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.881e-05/0.3333, allocations: 61.88 kB / 0.6622 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.3337, allocations: 283 kB / 0.6625 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3337, allocations: 0 / 0.6625 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3337, allocations: 1.562 kB / 0.6625 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3337, allocations: 0 / 0.6625 GB, free: 7.766 MB / 0.4981 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.000546/0.3343, allocations: 0.5087 MB / 0.663 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3343, allocations: 8.688 kB / 0.663 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.867e-05/0.3343, allocations: 35.86 kB / 0.663 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.3344, allocations: 21.14 kB / 0.663 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.3349, allocations: 0.6519 MB / 0.6637 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.3349, allocations: 5.188 kB / 0.6637 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.3349, allocations: 2.312 kB / 0.6637 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.3351, allocations: 80.34 kB / 0.6638 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3351, allocations: 3.938 kB / 0.6638 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.3351, allocations: 0 / 0.6638 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.3351, allocations: 1.188 kB / 0.6638 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.3353, allocations: 80.95 kB / 0.6638 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.3355, allocations: 318.6 kB / 0.6641 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.3358, allocations: 123.1 kB / 0.6643 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3359, allocations: 43.17 kB / 0.6643 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.3359, allocations: 19.05 kB / 0.6643 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.608e-06/0.3359, allocations: 36.03 kB / 0.6644 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3359, allocations: 0 / 0.6644 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004049/0.3364, allocations: 171.4 kB / 0.6645 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.3364, allocations: 52.56 kB / 0.6646 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000574/0.337, allocations: 0.7728 MB / 0.6653 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.337, allocations: 25.7 kB / 0.6653 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.337, allocations: 125.9 kB / 0.6655 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.3371, allocations: 13.16 kB / 0.6655 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.3371, allocations: 21.98 kB / 0.6655 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.3371, allocations: 332.7 kB / 0.6658 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3373, allocations: 37.53 kB / 0.6659 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.3374, allocations: 69.53 kB / 0.6659 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.3376, allocations: 87.33 kB / 0.666 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3376, allocations: 5.094 kB / 0.666 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002451/0.3378, allocations: 130.9 kB / 0.6661 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3379, allocations: 7 kB / 0.6661 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3379, allocations: 0 / 0.6661 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3379, allocations: 2.484 kB / 0.6661 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.338, allocations: 9.609 kB / 0.6662 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.338, allocations: 1.375 kB / 0.6662 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3381, allocations: 17.48 kB / 0.6662 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.3381, allocations: 1.344 kB / 0.6662 GB, free: 5.215 MB / 0.4981 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 6.553e-05/0.3382, allocations: 136.8 kB / 0.6663 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.3382, allocations: 27.05 kB / 0.6663 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.3385, allocations: 133.9 kB / 0.6665 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3385, allocations: 0 / 0.6665 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.3385, allocations: 0 / 0.6665 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3385, allocations: 5.297 kB / 0.6665 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.3386, allocations: 230.5 kB / 0.6667 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3386, allocations: 5.094 kB / 0.6667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.3387, allocations: 11.67 kB / 0.6667 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3387, allocations: 0 / 0.6667 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3387, allocations: 1.094 kB / 0.6667 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3387, allocations: 0 / 0.6667 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3387, allocations: 3.938 kB / 0.6667 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.339, allocations: 159.5 kB / 0.6669 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.339, allocations: 109.3 kB / 0.667 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3391, allocations: 1.219 kB / 0.667 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.3391, allocations: 4.344 kB / 0.667 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.3392, allocations: 5.172 kB / 0.667 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.3392, allocations: 1.188 kB / 0.667 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004408/0.3396, allocations: 0.614 MB / 0.6676 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3396, allocations: 0 / 0.6676 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003043/0.3399, allocations: 77.2 kB / 0.6676 GB, free: 4.23 MB / 0.4981 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.0005492/0.3405, allocations: 0.7509 MB / 0.6684 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.3408, allocations: 83.03 kB / 0.6685 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3408, allocations: 4 kB / 0.6685 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3409, allocations: 44.12 kB / 0.6685 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3411, allocations: 16.33 kB / 0.6685 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.3439, allocations: 3.315 MB / 0.6718 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.344, allocations: 0.7273 MB / 0.6725 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.464e-05/0.3441, allocations: 27.58 kB / 0.6725 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.3442, allocations: 48.61 kB / 0.6725 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.3442, allocations: 3.938 kB / 0.6725 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.369, allocations: 4.576 MB / 0.677 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8.207, allocations: 9.688 kB / 0.677 GB, free: 14.67 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)