Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001254/0.001254, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001576/0.001576, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003493, allocations: 12.78 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 82.31 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.6395/0.8504, allocations: 125.3 MB / 0.7097 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007112/0.8575, allocations: 3.965 MB / 0.7135 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.858, allocations: 7.875 kB / 0.7135 GB, free: 448 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004486/0.8585, allocations: 58.92 kB / 0.7136 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.859, allocations: 129.2 kB / 0.7137 GB, free: 328 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.8593, allocations: 48.47 kB / 0.7138 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006282/0.8599, allocations: 241.9 kB / 0.714 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.8602, allocations: 70.3 kB / 0.7141 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.8604, allocations: 86.12 kB / 0.7142 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.8607, allocations: 93.75 kB / 0.7142 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.8607, allocations: 8.094 kB / 0.7142 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.8607, allocations: 3.219 kB / 0.7143 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.042e-05/0.8608, allocations: 17.77 kB / 0.7143 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.113e-05/0.8609, allocations: 51.58 kB / 0.7143 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.8611, allocations: 110.1 kB / 0.7144 GB, free: 15.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.8611, allocations: 0 / 0.7144 GB, free: 15.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.298e-06/0.8611, allocations: 1.094 kB / 0.7144 GB, free: 15.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.8611, allocations: 1.125 kB / 0.7144 GB, free: 15.96 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005657/0.8617, allocations: 414.2 kB / 0.7148 GB, free: 15.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.334e-05/0.8618, allocations: 14.03 kB / 0.7148 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.143e-05/0.8619, allocations: 50.77 kB / 0.7149 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.8619, allocations: 25.64 kB / 0.7149 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.8623, allocations: 237.1 kB / 0.7151 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.8623, allocations: 13.97 kB / 0.7151 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.8624, allocations: 14.47 kB / 0.7152 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.8628, allocations: 207.7 kB / 0.7154 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.8628, allocations: 5.188 kB / 0.7154 GB, free: 15.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.8628, allocations: 6.922 kB / 0.7154 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.8629, allocations: 8.516 kB / 0.7154 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.863, allocations: 80.06 kB / 0.7155 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.8646, allocations: 1.583 MB / 0.717 GB, free: 13.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.8647, allocations: 170.1 kB / 0.7172 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.8648, allocations: 76.28 kB / 0.7172 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.322e-05/0.8648, allocations: 111.4 kB / 0.7173 GB, free: 13.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.8648, allocations: 0 / 0.7173 GB, free: 13.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.865, allocations: 42.7 kB / 0.7174 GB, free: 13.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.865, allocations: 127.3 kB / 0.7175 GB, free: 12.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.8654, allocations: 249.4 kB / 0.7177 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.8654, allocations: 26.31 kB / 0.7178 GB, free: 12.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.8656, allocations: 149.3 kB / 0.7179 GB, free: 12.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.8656, allocations: 0 / 0.7179 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/0.8656, allocations: 1.125 kB / 0.7179 GB, free: 12.63 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.8658, allocations: 332.4 kB / 0.7182 GB, free: 12.31 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.8658, allocations: 3.766 kB / 0.7182 GB, free: 12.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.8659, allocations: 55.64 kB / 0.7183 GB, free: 12.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.321e-05/0.8659, allocations: 11.69 kB / 0.7183 GB, free: 12.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8659, allocations: 0 / 0.7183 GB, free: 12.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002037/0.8662, allocations: 90.97 kB / 0.7184 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.8662, allocations: 7.938 kB / 0.7184 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.8662, allocations: 2.094 kB / 0.7184 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.8663, allocations: 2.156 kB / 0.7184 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.8663, allocations: 15.39 kB / 0.7184 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.8664, allocations: 3.875 kB / 0.7184 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.8664, allocations: 25.25 kB / 0.7184 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.8665, allocations: 4.297 kB / 0.7184 GB, free: 12.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001502/0.8666, allocations: 201.3 kB / 0.7186 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.8667, allocations: 126.7 kB / 0.7188 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.532e-05/0.8668, allocations: 119.7 kB / 0.7189 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-05/0.8669, allocations: 182.1 kB / 0.719 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.427e-05/0.867, allocations: 177.5 kB / 0.7192 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.986e-05/0.8671, allocations: 182 kB / 0.7194 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.8675, allocations: 462.1 kB / 0.7198 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-05/0.8676, allocations: 106.9 kB / 0.7199 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.8676, allocations: 108.5 kB / 0.72 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.459e-05/0.8677, allocations: 178.2 kB / 0.7202 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.8678, allocations: 190.3 kB / 0.7204 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.67e-05/0.8679, allocations: 183.1 kB / 0.7206 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.744e-05/0.868, allocations: 180.9 kB / 0.7207 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.8682, allocations: 324.2 kB / 0.721 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.8684, allocations: 201.3 kB / 0.7212 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.8685, allocations: 186.5 kB / 0.7214 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.8686, allocations: 102.7 kB / 0.7215 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.8687, allocations: 181.8 kB / 0.7217 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.8688, allocations: 102.8 kB / 0.7218 GB, free: 8.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002088/0.869, allocations: 182.9 kB / 0.7219 GB, free: 8.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.869, allocations: 1.281 kB / 0.722 GB, free: 8.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002837/0.8693, allocations: 18.38 kB / 0.722 GB, free: 8.52 MB / 0.545 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 (0): * Single equations (assignments): 0 * 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.0005223/0.8698, allocations: 0.8241 MB / 0.7228 GB, free: 7.695 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.53e-05/0.8699, allocations: 19.2 kB / 0.7228 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8699, allocations: 4.062 kB / 0.7228 GB, free: 7.688 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-05/0.8699, allocations: 4.906 kB / 0.7228 GB, free: 7.684 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.8707, allocations: 0.5748 MB / 0.7234 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.873, allocations: 1.848 MB / 0.7252 GB, free: 5.594 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.8734, allocations: 0.7169 MB / 0.7259 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.43e-05/0.8735, allocations: 19.83 kB / 0.7259 GB, free: 4.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.8736, allocations: 47.05 kB / 0.7259 GB, free: 4.859 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.8736, allocations: 0 / 0.7259 GB, free: 4.859 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.163/2.037, allocations: 3.27 MB / 0.7291 GB, free: 4.609 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/2.037, allocations: 184 kB / 0.7293 GB, free: 4.367 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/3.821, allocations: 0 / 0.7293 GB, free: 4.367 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) Environment - environmentSimulation: