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.005705/0.005705, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.001452/0.001452, allocations: 189 kB / 16.67 MB, free: 5.961 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7915/0.7915, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 71.83 kB / 0.5851 GB, free: 21.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 80.91 MB / 0.6641 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5346/0.6883, allocations: 170.3 MB / 0.8305 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007043/0.6954, allocations: 6.007 MB / 0.8364 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004154/0.6958, allocations: 8.781 kB / 0.8364 GB, free: 9.062 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.0007511/0.6967, allocations: 183.9 kB / 0.8365 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004134/0.6971, allocations: 92.28 kB / 0.8366 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.6984, allocations: 0.5218 MB / 0.8371 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005254/0.6989, allocations: 416.2 kB / 0.8375 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.6992, allocations: 134.5 kB / 0.8377 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.6995, allocations: 183.8 kB / 0.8378 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.6998, allocations: 157.4 kB / 0.838 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.6998, allocations: 20.91 kB / 0.838 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007315/0.7006, allocations: 452.4 kB / 0.8384 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.7007, allocations: 71.83 kB / 0.8385 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.7008, allocations: 104.2 kB / 0.8386 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.7015, allocations: 452.3 kB / 0.839 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.7015, allocations: 0 / 0.839 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7015, allocations: 0 / 0.839 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.7015, allocations: 0 / 0.839 GB, free: 7.27 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.0006088/0.7021, allocations: 0.5247 MB / 0.8395 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7022, allocations: 9.328 kB / 0.8396 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.315e-05/0.7022, allocations: 64.64 kB / 0.8396 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.7025, allocations: 40.86 kB / 0.8397 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.7028, allocations: 265.6 kB / 0.8399 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.703, allocations: 137 kB / 0.84 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.703, allocations: 27.09 kB / 0.8401 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.7034, allocations: 289.3 kB / 0.8403 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7035, allocations: 3.984 kB / 0.8403 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.7035, allocations: 12.97 kB / 0.8404 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.7035, allocations: 4.469 kB / 0.8404 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.7038, allocations: 164.1 kB / 0.8405 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.7051, allocations: 1.573 MB / 0.8421 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.524e-05/0.7051, allocations: 169.1 kB / 0.8422 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.075e-05/0.7052, allocations: 83.05 kB / 0.8423 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.7052, allocations: 83.22 kB / 0.8424 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.7052, allocations: 109.8 kB / 0.8425 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.7053, allocations: 0 / 0.8425 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.015e-05/0.7053, allocations: 51.66 kB / 0.8425 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.7054, allocations: 126.7 kB / 0.8426 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.7057, allocations: 311.1 kB / 0.8429 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.7057, allocations: 25.7 kB / 0.843 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.7059, allocations: 189.7 kB / 0.8432 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.7059, allocations: 6.453 kB / 0.8432 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.7059, allocations: 41.03 kB / 0.8432 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.7061, allocations: 333.6 kB / 0.8435 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.7062, allocations: 38.41 kB / 0.8436 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.7063, allocations: 162.4 kB / 0.8437 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.7065, allocations: 199.9 kB / 0.8439 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-06/0.7065, allocations: 2.719 kB / 0.8439 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003906/0.7069, allocations: 224.3 kB / 0.8441 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.707, allocations: 8.219 kB / 0.8441 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.707, allocations: 2.75 kB / 0.8441 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.707, allocations: 10.69 kB / 0.8441 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.7071, allocations: 36.3 kB / 0.8442 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.7072, allocations: 10.77 kB / 0.8442 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.7073, allocations: 33.88 kB / 0.8442 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.7074, allocations: 10.53 kB / 0.8442 GB, free: 2.41 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.0001227/0.7075, allocations: 223.4 kB / 0.8444 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.7076, allocations: 124.5 kB / 0.8446 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.7076, allocations: 125.8 kB / 0.8447 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/0.7077, allocations: 184.2 kB / 0.8448 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.027e-05/0.7077, allocations: 178.4 kB / 0.845 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.553e-05/0.7078, allocations: 176.3 kB / 0.8452 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.7081, allocations: 482.2 kB / 0.8456 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/0.7081, allocations: 104.9 kB / 0.8457 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.7082, allocations: 119 kB / 0.8459 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.073e-05/0.7082, allocations: 176.4 kB / 0.846 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/0.7083, allocations: 183.1 kB / 0.8462 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.922e-05/0.7084, allocations: 181.1 kB / 0.8464 GB, free: 140 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.467e-05/0.7084, allocations: 176.3 kB / 0.8465 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.7086, allocations: 331.8 kB / 0.8469 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.7087, allocations: 209.6 kB / 0.8471 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/0.7088, allocations: 180.3 kB / 0.8472 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.7089, allocations: 103.2 kB / 0.8473 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.709, allocations: 184.2 kB / 0.8475 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.709, allocations: 112.7 kB / 0.8476 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002173/0.7093, allocations: 216.8 kB / 0.8478 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7093, allocations: 0 / 0.8478 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003529/0.7096, allocations: 58.75 kB / 0.8479 GB, free: 14.65 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.0005417/0.7102, allocations: 0.8565 MB / 0.8487 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.7104, allocations: 82.34 kB / 0.8488 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7104, allocations: 0 / 0.8488 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.7104, allocations: 2.719 kB / 0.8488 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.7109, allocations: 488.7 kB / 0.8493 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.7133, allocations: 2.502 MB / 0.8517 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.7135, allocations: 0.7373 MB / 0.8524 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001239/0.7137, allocations: 39.62 kB / 0.8525 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.7138, allocations: 58.91 kB / 0.8525 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.7138, allocations: 2.062 kB / 0.8525 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.7334, allocations: 4.057 MB / 0.8565 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/8.526, allocations: 21.55 kB / 0.8565 GB, free: 8.301 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)