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.00506/0.00506, allocations: 98.66 kB / 15.73 MB, free: 5.547 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.001114/0.001114, allocations: 188.9 kB / 16.67 MB, free: 5.492 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7676/0.7676, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 0.5809 GB, free: 8.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3931, allocations: 80.2 MB / 0.6592 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00248/0.3956, allocations: 1.447 MB / 0.6606 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.397, allocations: 0.8928 MB / 0.6615 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.3971, allocations: 3.938 kB / 0.6615 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.3972, allocations: 9.031 kB / 0.6615 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.3978, allocations: 134 kB / 0.6616 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.3982, allocations: 113 kB / 0.6617 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.3983, allocations: 65.67 kB / 0.6618 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.3984, allocations: 7.156 kB / 0.6618 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3985, allocations: 27.73 kB / 0.6618 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3986, allocations: 48.05 kB / 0.6619 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3986, allocations: 8.031 kB / 0.6619 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.399, allocations: 226.7 kB / 0.6621 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.3991, allocations: 57.61 kB / 0.6621 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.224e-05/0.3992, allocations: 62.97 kB / 0.6622 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.3996, allocations: 279.6 kB / 0.6625 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3996, allocations: 0 / 0.6625 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3996, allocations: 1.094 kB / 0.6625 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3996, allocations: 0 / 0.6625 GB, free: 7.828 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.0006066/0.4002, allocations: 0.4944 MB / 0.6629 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.4003, allocations: 10.09 kB / 0.663 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.602e-05/0.4003, allocations: 31.94 kB / 0.663 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.4003, allocations: 21.05 kB / 0.663 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.4009, allocations: 0.6549 MB / 0.6636 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4009, allocations: 9.562 kB / 0.6637 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.4009, allocations: 1.281 kB / 0.6637 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.4011, allocations: 71.47 kB / 0.6637 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4011, allocations: 1.438 kB / 0.6637 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.4011, allocations: 0 / 0.6637 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4011, allocations: 0 / 0.6637 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.4013, allocations: 89.36 kB / 0.6638 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.4016, allocations: 318.3 kB / 0.6641 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.4018, allocations: 124.2 kB / 0.6642 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.4019, allocations: 46.27 kB / 0.6643 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.402, allocations: 16.02 kB / 0.6643 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.402, allocations: 35.69 kB / 0.6643 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.402, allocations: 0 / 0.6643 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003951/0.4024, allocations: 174.7 kB / 0.6645 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.4024, allocations: 56.78 kB / 0.6645 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.403, allocations: 0.7683 MB / 0.6653 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.4031, allocations: 29.7 kB / 0.6653 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.4031, allocations: 130.6 kB / 0.6655 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.4032, allocations: 5.219 kB / 0.6655 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.4032, allocations: 21.36 kB / 0.6655 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.4033, allocations: 332.8 kB / 0.6658 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4034, allocations: 37.09 kB / 0.6658 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.4035, allocations: 62.16 kB / 0.6659 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.4037, allocations: 88.11 kB / 0.666 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4037, allocations: 3.938 kB / 0.666 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002519/0.404, allocations: 135.2 kB / 0.6661 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.404, allocations: 5.5 kB / 0.6661 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.404, allocations: 0 / 0.6661 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.404, allocations: 0 / 0.6661 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.4041, allocations: 15.95 kB / 0.6661 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4041, allocations: 0 / 0.6661 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.4042, allocations: 6.156 kB / 0.6661 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.4042, allocations: 5.391 kB / 0.6661 GB, free: 5.367 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 7.437e-05/0.4043, allocations: 132.6 kB / 0.6663 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.4043, allocations: 19.44 kB / 0.6663 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.4046, allocations: 145.8 kB / 0.6664 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4046, allocations: 0 / 0.6664 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4046, allocations: 0 / 0.6664 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4046, allocations: 5.016 kB / 0.6664 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.4048, allocations: 226.7 kB / 0.6666 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4048, allocations: 1.25 kB / 0.6666 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.4048, allocations: 15.14 kB / 0.6667 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4048, allocations: 3.938 kB / 0.6667 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4049, allocations: 1.094 kB / 0.6667 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4049, allocations: 0 / 0.6667 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4049, allocations: 1.469 kB / 0.6667 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.4051, allocations: 163.4 kB / 0.6668 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.4052, allocations: 104.9 kB / 0.6669 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.4052, allocations: 0 / 0.6669 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.71e-05/0.4053, allocations: 5.188 kB / 0.6669 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.4053, allocations: 5.203 kB / 0.6669 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-06/0.4053, allocations: 9.344 kB / 0.6669 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004352/0.4058, allocations: 0.6138 MB / 0.6675 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4058, allocations: 0 / 0.6675 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003162/0.4061, allocations: 76.61 kB / 0.6676 GB, free: 4.379 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.0005742/0.4067, allocations: 0.7485 MB / 0.6683 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.4069, allocations: 85.72 kB / 0.6684 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4069, allocations: 0 / 0.6684 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.407, allocations: 44.19 kB / 0.6685 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.4073, allocations: 20.73 kB / 0.6685 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.4103, allocations: 3.301 MB / 0.6717 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.4105, allocations: 0.7244 MB / 0.6724 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.278e-05/0.4106, allocations: 27.31 kB / 0.6724 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.4106, allocations: 51.55 kB / 0.6725 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4106, allocations: 0 / 0.6725 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.434, allocations: 4.646 MB / 0.677 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.481/7.915, allocations: 8.641 kB / 0.677 GB, free: 14.79 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)