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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006306/0.006306, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7975/0.7975, allocations: 135.2 MB / 151 MB, free: 13.86 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 406.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009584/0.0009585, allocations: 98.3 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 8 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3725, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.5189, allocations: 113.6 MB / 0.7605 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.5193, allocations: 87.88 kB / 0.7606 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01647/0.5358, allocations: 5.312 MB / 0.7657 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5358, allocations: 0 / 0.7657 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.5358, allocations: 8 kB / 0.7658 GB, free: 12.96 MB / 0.5417 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.0009464/0.5368, allocations: 0.5303 MB / 0.7663 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5369, allocations: 8.031 kB / 0.7663 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.5369, allocations: 30.56 kB / 0.7663 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.537, allocations: 15.81 kB / 0.7663 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006155/0.5376, allocations: 425.6 kB / 0.7667 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.5376, allocations: 12 kB / 0.7667 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.5377, allocations: 3.938 kB / 0.7667 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.5379, allocations: 85.56 kB / 0.7668 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.5379, allocations: 0 / 0.7668 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.5379, allocations: 3.984 kB / 0.7668 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5379, allocations: 0 / 0.7668 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002226/0.5381, allocations: 83.91 kB / 0.7669 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.5385, allocations: 301.5 kB / 0.7672 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.5388, allocations: 110.5 kB / 0.7673 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.5389, allocations: 16.12 kB / 0.7673 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.5389, allocations: 34.5 kB / 0.7674 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5389, allocations: 0 / 0.7674 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0004634/0.5394, allocations: 181.3 kB / 0.7675 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.5394, allocations: 55.41 kB / 0.7676 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.5399, allocations: 452 kB / 0.768 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.54, allocations: 25.7 kB / 0.768 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.5401, allocations: 124.1 kB / 0.7682 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.5401, allocations: 15.89 kB / 0.7682 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.5401, allocations: 0 / 0.7682 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5402, allocations: 330.8 kB / 0.7685 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.5404, allocations: 39.95 kB / 0.7685 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.5405, allocations: 62.47 kB / 0.7686 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.5406, allocations: 47.98 kB / 0.7686 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.5407, allocations: 3.953 kB / 0.7686 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003046/0.541, allocations: 129.4 kB / 0.7688 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.541, allocations: 11.98 kB / 0.7688 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.541, allocations: 3.938 kB / 0.7688 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.541, allocations: 0 / 0.7688 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.5411, allocations: 12 kB / 0.7688 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.5411, allocations: 4 kB / 0.7688 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.5413, allocations: 15.92 kB / 0.7688 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.5413, allocations: 4 kB / 0.7688 GB, free: 9.609 MB / 0.5417 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 0.0001057/0.5414, allocations: 137.8 kB / 0.7689 GB, free: 9.465 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.5415, allocations: 27.61 kB / 0.769 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003899/0.5419, allocations: 167.1 kB / 0.7691 GB, free: 9.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5419, allocations: 4 kB / 0.7691 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5419, allocations: 0 / 0.7691 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.5419, allocations: 3.938 kB / 0.7691 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.5421, allocations: 225.6 kB / 0.7693 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5421, allocations: 0 / 0.7693 GB, free: 8.992 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.041e-05/0.5422, allocations: 19.94 kB / 0.7694 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5422, allocations: 0 / 0.7694 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.5422, allocations: 0 / 0.7694 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.5422, allocations: 4 kB / 0.7694 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5423, allocations: 0 / 0.7694 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.5426, allocations: 164.8 kB / 0.7695 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.5428, allocations: 124.9 kB / 0.7696 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.5428, allocations: 7.953 kB / 0.7696 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.5429, allocations: 11.98 kB / 0.7697 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.543, allocations: 7.984 kB / 0.7697 GB, free: 8.621 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.543, allocations: 8 kB / 0.7697 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003813/0.5434, allocations: 368.3 kB / 0.77 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5434, allocations: 0 / 0.77 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004201/0.5438, allocations: 91.92 kB / 0.7701 GB, free: 8.164 MB / 0.5417 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.0008489/0.5447, allocations: 0.7604 MB / 0.7709 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.5449, allocations: 83.94 kB / 0.7709 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.545, allocations: 0 / 0.7709 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.5451, allocations: 43.97 kB / 0.771 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.5452, allocations: 17.61 kB / 0.771 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.5477, allocations: 1.694 MB / 0.7726 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.548, allocations: 0.7321 MB / 0.7734 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002048/0.5483, allocations: 68.56 kB / 0.7734 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.5484, allocations: 67.38 kB / 0.7735 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.5484, allocations: 0 / 0.7735 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.5668, allocations: 4.99 MB / 0.7784 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.567, allocations: 183.1 kB / 0.7785 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.344, allocations: 0 / 0.7785 GB, free: 15.52 MB / 0.5573 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/linux/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)