Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_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.007305/0.007305, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.001864/0.001864, allocations: 196.2 kB / 16.68 MB, free: 5.973 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7693/0.7693, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.64 kB / 0.5809 GB, free: 1.289 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1495, allocations: 80.22 MB / 0.6592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5112/0.6608, allocations: 170.3 MB / 0.8255 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005136/0.666, allocations: 6.004 MB / 0.8314 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.6662, allocations: 9.906 kB / 0.8314 GB, free: 2.734 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005705/0.6668, allocations: 191.3 kB / 0.8316 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000275/0.6671, allocations: 86.47 kB / 0.8316 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.6683, allocations: 0.5179 MB / 0.8322 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004345/0.6687, allocations: 417.3 kB / 0.8326 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.669, allocations: 135.9 kB / 0.8327 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.6692, allocations: 190.3 kB / 0.8329 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.6695, allocations: 151.5 kB / 0.833 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.6695, allocations: 17.44 kB / 0.833 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006885/0.6702, allocations: 454.8 kB / 0.8335 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.567e-05/0.6703, allocations: 71.41 kB / 0.8335 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.6704, allocations: 101.5 kB / 0.8336 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000645/0.6711, allocations: 459.8 kB / 0.8341 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6711, allocations: 0.9688 kB / 0.8341 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6711, allocations: 0.9062 kB / 0.8341 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.6711, allocations: 1.703 kB / 0.8341 GB, free: 2.664 MB / 0.6387 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.0005006/0.6716, allocations: 0.5282 MB / 0.8346 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6716, allocations: 10.31 kB / 0.8346 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/0.6717, allocations: 61.94 kB / 0.8346 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/0.6719, allocations: 49.52 kB / 0.8347 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.6722, allocations: 266.2 kB / 0.8349 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.6724, allocations: 133.1 kB / 0.8351 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.6724, allocations: 20.25 kB / 0.8351 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.6728, allocations: 292.6 kB / 0.8354 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.6728, allocations: 5.047 kB / 0.8354 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.6728, allocations: 12.05 kB / 0.8354 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.6728, allocations: 6.969 kB / 0.8354 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.6731, allocations: 161.8 kB / 0.8356 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.6743, allocations: 1.587 MB / 0.8371 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.6744, allocations: 166 kB / 0.8373 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.6744, allocations: 85.33 kB / 0.8373 GB, free: 16.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.6745, allocations: 76.09 kB / 0.8374 GB, free: 16.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.6745, allocations: 119 kB / 0.8375 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.6745, allocations: 0 / 0.8375 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.84e-05/0.6746, allocations: 43.48 kB / 0.8376 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.6747, allocations: 134 kB / 0.8377 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.675, allocations: 316.3 kB / 0.838 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.675, allocations: 28.33 kB / 0.838 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6751, allocations: 196.7 kB / 0.8382 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-06/0.6751, allocations: 5.812 kB / 0.8382 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.6752, allocations: 46.95 kB / 0.8383 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6753, allocations: 327.4 kB / 0.8386 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.6754, allocations: 36.5 kB / 0.8386 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.6756, allocations: 160.1 kB / 0.8388 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.6758, allocations: 199 kB / 0.839 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6758, allocations: 1.062 kB / 0.839 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003739/0.6762, allocations: 219.6 kB / 0.8392 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6762, allocations: 6.656 kB / 0.8392 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.6762, allocations: 7.938 kB / 0.8392 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.6762, allocations: 6.875 kB / 0.8392 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.6764, allocations: 41.62 kB / 0.8392 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.6764, allocations: 5.469 kB / 0.8392 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.6765, allocations: 33.84 kB / 0.8393 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.6766, allocations: 14.89 kB / 0.8393 GB, free: 14.8 MB / 0.6544 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.00014/0.6767, allocations: 223.6 kB / 0.8395 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.6768, allocations: 125.4 kB / 0.8396 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.6769, allocations: 122.6 kB / 0.8397 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.121e-05/0.6769, allocations: 179.9 kB / 0.8399 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-05/0.677, allocations: 185.5 kB / 0.8401 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.056e-05/0.6771, allocations: 182.8 kB / 0.8402 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.6774, allocations: 482.3 kB / 0.8407 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.066e-05/0.6775, allocations: 103.4 kB / 0.8408 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.6775, allocations: 105 kB / 0.8409 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.016e-05/0.6776, allocations: 181.5 kB / 0.8411 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.119e-05/0.6777, allocations: 184.6 kB / 0.8413 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.145e-05/0.6777, allocations: 185.6 kB / 0.8414 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.121e-05/0.6778, allocations: 181 kB / 0.8416 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.678, allocations: 327.2 kB / 0.8419 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.6781, allocations: 203.7 kB / 0.8421 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.6782, allocations: 183.3 kB / 0.8423 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.6783, allocations: 106 kB / 0.8424 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.6784, allocations: 190 kB / 0.8426 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.6784, allocations: 103.9 kB / 0.8427 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002168/0.6787, allocations: 218.9 kB / 0.8429 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6787, allocations: 4.938 kB / 0.8429 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003516/0.679, allocations: 55.27 kB / 0.8429 GB, free: 11.27 MB / 0.6544 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.0005548/0.6796, allocations: 0.8522 MB / 0.8438 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001832/0.6798, allocations: 86 kB / 0.8438 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6798, allocations: 0 / 0.8438 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.6798, allocations: 0 / 0.8438 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.6803, allocations: 487.7 kB / 0.8443 GB, free: 10 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.6827, allocations: 2.512 MB / 0.8468 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.683, allocations: 0.7387 MB / 0.8475 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.6831, allocations: 35.16 kB / 0.8475 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.6832, allocations: 56.08 kB / 0.8476 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6832, allocations: 2.312 kB / 0.8476 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.165/0.8482, allocations: 4.037 MB / 0.8515 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.845, allocations: 8.172 kB / 0.8515 GB, free: 7.148 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)