Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_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.004621/0.004625, allocations: 99.92 kB / 15.73 MB, free: 6.008 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.001246/0.001246, allocations: 195.2 kB / 16.68 MB, free: 5.93 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8497/0.8497, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 69.05 kB / 0.5857 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1423, allocations: 81.03 MB / 0.6649 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4905/0.6328, allocations: 170.3 MB / 0.8312 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007156/0.64, allocations: 6.007 MB / 0.8371 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.6402, allocations: 8.844 kB / 0.8371 GB, free: 8.109 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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-master/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-master/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.0006505/0.641, allocations: 188.2 kB / 0.8372 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.6413, allocations: 92 kB / 0.8373 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.6424, allocations: 0.5121 MB / 0.8378 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.6429, allocations: 420.1 kB / 0.8382 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.6431, allocations: 129.6 kB / 0.8384 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/0.6434, allocations: 192.5 kB / 0.8385 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.6436, allocations: 149.4 kB / 0.8387 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.6437, allocations: 21.53 kB / 0.8387 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007012/0.6444, allocations: 459.9 kB / 0.8391 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.6445, allocations: 66.47 kB / 0.8392 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.6446, allocations: 107.9 kB / 0.8393 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000616/0.6452, allocations: 447.2 kB / 0.8397 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6453, allocations: 0 / 0.8397 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6453, allocations: 2.75 kB / 0.8397 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.6453, allocations: 0 / 0.8397 GB, free: 6.324 MB / 0.6075 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.0006415/0.6459, allocations: 0.5309 MB / 0.8403 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.646, allocations: 14.42 kB / 0.8403 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.646, allocations: 58.45 kB / 0.8403 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000245/0.6463, allocations: 43.22 kB / 0.8404 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.6466, allocations: 261.9 kB / 0.8406 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.6468, allocations: 134.8 kB / 0.8407 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.6468, allocations: 27.09 kB / 0.8408 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.6473, allocations: 289 kB / 0.841 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.6473, allocations: 6.875 kB / 0.8411 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.6473, allocations: 9.812 kB / 0.8411 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.6473, allocations: 5.594 kB / 0.8411 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.6476, allocations: 160.1 kB / 0.8412 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.6491, allocations: 1.59 MB / 0.8428 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.018e-05/0.6492, allocations: 165.1 kB / 0.8429 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.318e-05/0.6492, allocations: 86.48 kB / 0.843 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.6492, allocations: 79.22 kB / 0.8431 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/0.6493, allocations: 105.8 kB / 0.8432 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.6493, allocations: 4 kB / 0.8432 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.185e-05/0.6494, allocations: 51.8 kB / 0.8432 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.6495, allocations: 126.7 kB / 0.8434 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.6498, allocations: 306.9 kB / 0.8437 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.6499, allocations: 25.7 kB / 0.8437 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.65, allocations: 194.1 kB / 0.8439 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-06/0.65, allocations: 6.891 kB / 0.8439 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.6501, allocations: 52.48 kB / 0.8439 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6502, allocations: 335.6 kB / 0.8442 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.927e-05/0.6503, allocations: 36.41 kB / 0.8443 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.6505, allocations: 156.6 kB / 0.8444 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.6508, allocations: 197.5 kB / 0.8446 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6508, allocations: 2.5 kB / 0.8446 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003828/0.6512, allocations: 225.5 kB / 0.8448 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.6512, allocations: 9.875 kB / 0.8448 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6512, allocations: 8.75 kB / 0.8449 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6512, allocations: 5.625 kB / 0.8449 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.6514, allocations: 41.55 kB / 0.8449 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.6514, allocations: 15.23 kB / 0.8449 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.6515, allocations: 25.94 kB / 0.8449 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.6516, allocations: 14.09 kB / 0.8449 GB, free: 1.441 MB / 0.6075 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.0001492/0.6517, allocations: 219.9 kB / 0.8452 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.6518, allocations: 125.8 kB / 0.8453 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.412e-05/0.6519, allocations: 125.6 kB / 0.8454 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.64e-05/0.652, allocations: 182 kB / 0.8456 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.557e-05/0.6521, allocations: 176.3 kB / 0.8457 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.206e-05/0.6521, allocations: 183.5 kB / 0.8459 GB, free: 456 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003504/0.6525, allocations: 479.3 kB / 0.8464 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-05/0.6526, allocations: 110.7 kB / 0.8465 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.6526, allocations: 108.9 kB / 0.8466 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.28e-05/0.6527, allocations: 179.6 kB / 0.8468 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.05e-05/0.6528, allocations: 184.2 kB / 0.8469 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-05/0.6528, allocations: 180.3 kB / 0.8471 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-05/0.6529, allocations: 183 kB / 0.8473 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.6531, allocations: 321.3 kB / 0.8476 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.6532, allocations: 215.8 kB / 0.8478 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.6534, allocations: 182.5 kB / 0.848 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.6535, allocations: 104.9 kB / 0.8481 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.343e-05/0.6536, allocations: 183.2 kB / 0.8482 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.6536, allocations: 105 kB / 0.8483 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002331/0.6539, allocations: 216.4 kB / 0.8485 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6539, allocations: 0 / 0.8485 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003363/0.6542, allocations: 53.92 kB / 0.8486 GB, free: 13.7 MB / 0.6231 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.0005752/0.6548, allocations: 0.8675 MB / 0.8494 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.655, allocations: 82.84 kB / 0.8495 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.655, allocations: 0 / 0.8495 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.655, allocations: 2.562 kB / 0.8495 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.6555, allocations: 486 kB / 0.85 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.6581, allocations: 2.503 MB / 0.8524 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.6584, allocations: 0.7412 MB / 0.8532 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.6586, allocations: 35.38 kB / 0.8532 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.6587, allocations: 57.81 kB / 0.8532 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of SimCode: time 2.8e-07/0.6587, allocations: 0 / 0.8532 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.6828, allocations: 4.042 MB / 0.8572 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.516, allocations: 3.922 kB / 0.8572 GB, free: 7.352 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)