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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 217.7 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.377/1.377, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8334/0.8334, allocations: 134 MB / 447.2 MB, free: 9.977 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 57.47 kB / 0.6192 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1734, allocations: 85.92 MB / 0.7031 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5169/0.6904, allocations: 150.4 MB / 0.85 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006358/0.6967, allocations: 5.503 MB / 0.8554 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.6969, allocations: 19.88 kB / 0.8554 GB, free: 7.336 MB / 0.6231 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.000629/0.6976, allocations: 194.8 kB / 0.8556 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.6979, allocations: 91.38 kB / 0.8557 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.699, allocations: 0.5217 MB / 0.8562 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.6995, allocations: 422.4 kB / 0.8566 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.6997, allocations: 92.2 kB / 0.8567 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.7, allocations: 195.3 kB / 0.8569 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.7002, allocations: 159.3 kB / 0.857 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.554e-05/0.7003, allocations: 19.98 kB / 0.8571 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006238/0.7009, allocations: 374.9 kB / 0.8574 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.701, allocations: 71.75 kB / 0.8575 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 9.959e-05/0.7011, allocations: 83.61 kB / 0.8576 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000582/0.7017, allocations: 454.3 kB / 0.858 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7017, allocations: 0 / 0.858 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7017, allocations: 0 / 0.858 GB, free: 4.691 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7017, allocations: 7.938 kB / 0.858 GB, free: 4.684 MB / 0.6231 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.0005911/0.7023, allocations: 453.3 kB / 0.8584 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.7023, allocations: 16.03 kB / 0.8585 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.003e-05/0.7023, allocations: 4.438 kB / 0.8585 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.999e-05/0.7024, allocations: 62.53 kB / 0.8585 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.7027, allocations: 47.8 kB / 0.8586 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.703, allocations: 196.9 kB / 0.8588 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.7032, allocations: 246 kB / 0.859 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.7033, allocations: 19.94 kB / 0.859 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.7037, allocations: 294 kB / 0.8593 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.7037, allocations: 0 / 0.8593 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.7038, allocations: 8 kB / 0.8593 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.7038, allocations: 8 kB / 0.8593 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.7041, allocations: 152.6 kB / 0.8595 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.7055, allocations: 1.525 MB / 0.8609 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.7056, allocations: 169.1 kB / 0.8611 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.7057, allocations: 92.02 kB / 0.8612 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.7057, allocations: 75.28 kB / 0.8613 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.262e-05/0.7058, allocations: 109.8 kB / 0.8614 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7058, allocations: 0 / 0.8614 GB, free: 0.9844 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 9.227e-05/0.7059, allocations: 57.48 kB / 0.8614 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.7059, allocations: 126.7 kB / 0.8615 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.7063, allocations: 313.8 kB / 0.8618 GB, free: 480 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.7063, allocations: 25.7 kB / 0.8619 GB, free: 448 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.7065, allocations: 195.7 kB / 0.8621 GB, free: 248 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.7065, allocations: 0 / 0.8621 GB, free: 248 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.7065, allocations: 49.66 kB / 0.8621 GB, free: 192 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7067, allocations: 330.8 kB / 0.8624 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.284e-05/0.7068, allocations: 35.98 kB / 0.8625 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.707, allocations: 167.3 kB / 0.8626 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.7072, allocations: 192.9 kB / 0.8628 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7072, allocations: 4 kB / 0.8628 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000415/0.7076, allocations: 221.5 kB / 0.863 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.7077, allocations: 12.12 kB / 0.863 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7077, allocations: 4 kB / 0.863 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.7077, allocations: 4 kB / 0.863 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.7078, allocations: 39.92 kB / 0.8631 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.7078, allocations: 6.344 kB / 0.8631 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.708, allocations: 35.73 kB / 0.8631 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.708, allocations: 8 kB / 0.8631 GB, free: 15.01 MB / 0.6387 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.0001571/0.7082, allocations: 221 kB / 0.8633 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.346e-05/0.7083, allocations: 124.8 kB / 0.8634 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.358e-05/0.7084, allocations: 121.8 kB / 0.8636 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.389e-05/0.7084, allocations: 192.2 kB / 0.8637 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.32e-05/0.7085, allocations: 184.2 kB / 0.8639 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.828e-05/0.7086, allocations: 176.3 kB / 0.8641 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.7089, allocations: 452.1 kB / 0.8645 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/0.709, allocations: 101.9 kB / 0.8646 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.709, allocations: 101 kB / 0.8647 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.181e-05/0.7091, allocations: 180.2 kB / 0.8649 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-05/0.7092, allocations: 180.3 kB / 0.8651 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.451e-05/0.7093, allocations: 184.2 kB / 0.8652 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.372e-05/0.7093, allocations: 176.3 kB / 0.8654 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.7095, allocations: 335.6 kB / 0.8657 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.265e-05/0.7096, allocations: 132 kB / 0.8658 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.7097, allocations: 188.2 kB / 0.866 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.7099, allocations: 108.9 kB / 0.8661 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.7099, allocations: 176.3 kB / 0.8663 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.348e-05/0.71, allocations: 112.9 kB / 0.8664 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002437/0.7102, allocations: 217.2 kB / 0.8666 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7102, allocations: 0 / 0.8666 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000333/0.7106, allocations: 51.94 kB / 0.8667 GB, free: 11.18 MB / 0.6387 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.0005677/0.7111, allocations: 0.8515 MB / 0.8675 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001865/0.7113, allocations: 76.95 kB / 0.8676 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7113, allocations: 8.062 kB / 0.8676 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.7113, allocations: 7.938 kB / 0.8676 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.7119, allocations: 476.2 kB / 0.868 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.7145, allocations: 2.503 MB / 0.8705 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001222/0.7147, allocations: 132.9 kB / 0.8706 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.7148, allocations: 30.92 kB / 0.8706 GB, free: 6.875 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.7149, allocations: 63.41 kB / 0.8707 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of SimCode: time 3.1e-07/0.7149, allocations: 3.938 kB / 0.8707 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.7396, allocations: 4.286 MB / 0.8749 GB, free: 2.715 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.47, allocations: 6.25 kB / 0.8749 GB, free: 2.711 MB / 0.6387 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.9935879369732] Failed to read output from testmodel.py, exit status != 0: 11.627077760989778 11.641996377 10.937447711 Calling exit ...