Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="IDEAS_dev_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.004424/0.004424, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001235/0.001235, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9489/0.9489, allocations: 135.6 MB / 426.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.89 kB / 0.5857 GB, free: 3.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3421, allocations: 81.03 MB / 0.6649 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002004/0.3441, allocations: 1.446 MB / 0.6663 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3452, allocations: 0.8899 MB / 0.6672 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.3453, allocations: 1.219 kB / 0.6672 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.3454, allocations: 5.125 kB / 0.6672 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.3459, allocations: 138.8 kB / 0.6673 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3461, allocations: 101.8 kB / 0.6674 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.934e-05/0.3462, allocations: 65.84 kB / 0.6675 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.176e-05/0.3462, allocations: 2.312 kB / 0.6675 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.3463, allocations: 47.92 kB / 0.6675 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.354e-05/0.3464, allocations: 37.95 kB / 0.6675 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3464, allocations: 3.812 kB / 0.6675 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003169/0.3468, allocations: 237.2 kB / 0.6678 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.3468, allocations: 60.84 kB / 0.6678 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.98e-05/0.3469, allocations: 54.02 kB / 0.6679 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.3472, allocations: 285.6 kB / 0.6681 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3472, allocations: 1.344 kB / 0.6682 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3472, allocations: 0 / 0.6682 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3472, allocations: 0 / 0.6682 GB, free: 4.461 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.000551/0.3478, allocations: 0.5016 MB / 0.6686 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3478, allocations: 8.781 kB / 0.6686 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.071e-05/0.3479, allocations: 32.28 kB / 0.6687 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.3479, allocations: 24.89 kB / 0.6687 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.3484, allocations: 0.648 MB / 0.6693 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3484, allocations: 9.25 kB / 0.6693 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3484, allocations: 7.031 kB / 0.6694 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3486, allocations: 71.34 kB / 0.6694 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3486, allocations: 3.938 kB / 0.6694 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.3486, allocations: 0 / 0.6694 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3486, allocations: 1.312 kB / 0.6694 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.3488, allocations: 84.98 kB / 0.6695 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.349, allocations: 318.2 kB / 0.6698 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3493, allocations: 124.1 kB / 0.6699 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3494, allocations: 46.2 kB / 0.67 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.3494, allocations: 15.92 kB / 0.67 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.3494, allocations: 35.84 kB / 0.67 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3494, allocations: 3.938 kB / 0.67 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003809/0.3498, allocations: 167.7 kB / 0.6702 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.542e-05/0.3499, allocations: 51.41 kB / 0.6702 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/0.3504, allocations: 0.773 MB / 0.671 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3504, allocations: 25.7 kB / 0.671 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.986e-05/0.3505, allocations: 133.9 kB / 0.6711 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3505, allocations: 18.12 kB / 0.6712 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3506, allocations: 17.45 kB / 0.6712 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.31e-05/0.3506, allocations: 329 kB / 0.6715 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3507, allocations: 40.16 kB / 0.6715 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3508, allocations: 66.81 kB / 0.6716 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.351, allocations: 83.52 kB / 0.6717 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.351, allocations: 3.938 kB / 0.6717 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002358/0.3513, allocations: 135.5 kB / 0.6718 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.3513, allocations: 4.688 kB / 0.6718 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3513, allocations: 1.156 kB / 0.6718 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3513, allocations: 0 / 0.6718 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.3514, allocations: 19.86 kB / 0.6718 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3514, allocations: 0 / 0.6718 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.3515, allocations: 10.31 kB / 0.6718 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.3515, allocations: 5.109 kB / 0.6718 GB, free: 1.914 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.871e-05/0.3516, allocations: 128.8 kB / 0.672 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.3516, allocations: 23.66 kB / 0.672 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002772/0.3519, allocations: 136.4 kB / 0.6721 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3519, allocations: 1.125 kB / 0.6721 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3519, allocations: 0 / 0.6721 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3519, allocations: 5.109 kB / 0.6721 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.3521, allocations: 231 kB / 0.6723 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3521, allocations: 0 / 0.6723 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.3521, allocations: 20.39 kB / 0.6724 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3521, allocations: 0 / 0.6724 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3522, allocations: 1.156 kB / 0.6724 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3522, allocations: 0 / 0.6724 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3522, allocations: 4 kB / 0.6724 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.3524, allocations: 156.1 kB / 0.6725 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.3525, allocations: 104.2 kB / 0.6726 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3525, allocations: 5.031 kB / 0.6726 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.3526, allocations: 8.625 kB / 0.6726 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.3526, allocations: 5.359 kB / 0.6726 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.3526, allocations: 5.281 kB / 0.6726 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004224/0.353, allocations: 0.6144 MB / 0.6732 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3531, allocations: 3.938 kB / 0.6732 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002919/0.3533, allocations: 75.83 kB / 0.6733 GB, free: 0.9219 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.0005602/0.3539, allocations: 0.7494 MB / 0.674 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.3542, allocations: 85.28 kB / 0.6741 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3542, allocations: 1.406 kB / 0.6741 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.94e-05/0.3543, allocations: 43.03 kB / 0.6742 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.3545, allocations: 17.92 kB / 0.6742 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.3578, allocations: 3.313 MB / 0.6774 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3582, allocations: 0.7242 MB / 0.6781 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.248e-05/0.3583, allocations: 28 kB / 0.6782 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.328e-05/0.3584, allocations: 51.14 kB / 0.6782 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.3584, allocations: 3.938 kB / 0.6782 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3327/0.6911, allocations: 4.587 MB / 0.6827 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.69/9.381, allocations: 3.281 kB / 0.6827 GB, free: 11.34 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)