Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet",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.0009692/0.0009692, allocations: 106.5 kB / 16.27 MB, free: 5.98 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.0008893/0.0008893, allocations: 186.5 kB / 17.19 MB, free: 5.609 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.156/1.156, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6728/0.6728, allocations: 122.8 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 63.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2629, allocations: 77.92 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1513/0.4142, allocations: 170.3 MB / 0.7336 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005408/0.4196, allocations: 5.999 MB / 0.7395 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.4197, allocations: 8 kB / 0.7395 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.4202, allocations: 182.7 kB / 0.7396 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.4205, allocations: 95.36 kB / 0.7397 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008888/0.4214, allocations: 0.5138 MB / 0.7402 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.4217, allocations: 426.7 kB / 0.7406 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.422, allocations: 127.6 kB / 0.7408 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.4222, allocations: 195.3 kB / 0.741 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.4224, allocations: 147.4 kB / 0.7411 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.4224, allocations: 16 kB / 0.7411 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006428/0.4231, allocations: 454.8 kB / 0.7415 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.425e-05/0.4232, allocations: 71.75 kB / 0.7416 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.378e-05/0.4233, allocations: 103.5 kB / 0.7417 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.4238, allocations: 446.7 kB / 0.7421 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4238, allocations: 0 / 0.7421 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4238, allocations: 4 kB / 0.7421 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.4238, allocations: 0 / 0.7421 GB, free: 7.035 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0004964/0.4243, allocations: 0.5185 MB / 0.7426 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.4244, allocations: 8.625 kB / 0.7427 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.4e-05/0.4244, allocations: 62.53 kB / 0.7427 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.4247, allocations: 43.7 kB / 0.7428 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002521/0.4249, allocations: 250.5 kB / 0.743 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.425, allocations: 143.4 kB / 0.7431 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4251, allocations: 20 kB / 0.7432 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.4255, allocations: 298.8 kB / 0.7434 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4255, allocations: 0 / 0.7434 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.4255, allocations: 8 kB / 0.7434 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4255, allocations: 8 kB / 0.7435 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.4258, allocations: 160.6 kB / 0.7436 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.427, allocations: 1.591 MB / 0.7452 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.575e-05/0.4271, allocations: 169.1 kB / 0.7453 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.4271, allocations: 80.14 kB / 0.7454 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4271, allocations: 75.28 kB / 0.7455 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.4272, allocations: 117.8 kB / 0.7456 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.4272, allocations: 0 / 0.7456 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.812e-05/0.4273, allocations: 49.36 kB / 0.7456 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4273, allocations: 126.7 kB / 0.7457 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.4277, allocations: 310.6 kB / 0.746 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.4277, allocations: 25.7 kB / 0.7461 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.4278, allocations: 191.2 kB / 0.7463 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-06/0.4278, allocations: 0 / 0.7463 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.33e-05/0.4279, allocations: 53.56 kB / 0.7463 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.428, allocations: 330.8 kB / 0.7466 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/0.4281, allocations: 39.97 kB / 0.7467 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4282, allocations: 162.5 kB / 0.7468 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.4284, allocations: 192.9 kB / 0.747 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4284, allocations: 4 kB / 0.747 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003547/0.4288, allocations: 213.5 kB / 0.7472 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.4288, allocations: 12 kB / 0.7472 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4288, allocations: 8 kB / 0.7472 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4288, allocations: 4 kB / 0.7472 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.429, allocations: 43.92 kB / 0.7473 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.429, allocations: 4 kB / 0.7473 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.4292, allocations: 31.62 kB / 0.7473 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.4292, allocations: 11.98 kB / 0.7473 GB, free: 1.285 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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 0.0001292/0.4293, allocations: 221 kB / 0.7475 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.158e-05/0.4294, allocations: 136.6 kB / 0.7477 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.4295, allocations: 121.8 kB / 0.7478 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.055e-05/0.4295, allocations: 180.3 kB / 0.7479 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-05/0.4296, allocations: 184.2 kB / 0.7481 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-05/0.4297, allocations: 176.3 kB / 0.7483 GB, free: 252 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1956/0.6253, allocations: 479.7 kB / 0.7487 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.6253, allocations: 104.2 kB / 0.7488 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.6253, allocations: 106.8 kB / 0.7489 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-05/0.6254, allocations: 184.3 kB / 0.7491 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.6254, allocations: 182.1 kB / 0.7493 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/0.6254, allocations: 183.4 kB / 0.7495 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.786e-05/0.6254, allocations: 180.6 kB / 0.7496 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.399e-05/0.6255, allocations: 320 kB / 0.7499 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.6256, allocations: 206.8 kB / 0.7501 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/0.6257, allocations: 187 kB / 0.7503 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.6258, allocations: 108.8 kB / 0.7504 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.82e-05/0.6258, allocations: 183.7 kB / 0.7506 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.6258, allocations: 106.3 kB / 0.7507 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002253/0.6261, allocations: 219.2 kB / 0.7509 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6261, allocations: 0.75 kB / 0.7509 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004048/0.6265, allocations: 52.89 kB / 0.751 GB, free: 171.6 MB / 0.5762 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 (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.0003625/0.6269, allocations: 0.8555 MB / 0.7518 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.6271, allocations: 82.42 kB / 0.7519 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6271, allocations: 0 / 0.7519 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.6271, allocations: 4.594 kB / 0.7519 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.6274, allocations: 482.1 kB / 0.7523 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.6294, allocations: 2.512 MB / 0.7548 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.6296, allocations: 0.742 MB / 0.7555 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001457/0.6297, allocations: 37.72 kB / 0.7556 GB, free: 167.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.092e-05/0.6298, allocations: 55.28 kB / 0.7556 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6298, allocations: 0.7188 kB / 0.7556 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7843/1.414, allocations: 3.971 MB / 0.7595 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/10.17, allocations: 8.703 kB / 0.7595 GB, free: 167.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)