Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.001358/0.001358, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00164/0.00164, allocations: 216.7 kB / 22.26 MB, free: 5.121 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 7.984 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.7917/0.7917, allocations: 134 MB / 446.4 MB, free: 10.24 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.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",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.001866/0.001866, allocations: 64.66 kB / 0.6186 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 85.91 MB / 0.7025 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5104/0.6732, allocations: 151.6 MB / 0.8505 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.005931/0.6791, allocations: 4.769 MB / 0.8552 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.6795, allocations: 15.88 kB / 0.8552 GB, free: 10.15 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007042/0.6802, allocations: 166.9 kB / 0.8554 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.6806, allocations: 83.45 kB / 0.8555 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.6808, allocations: 79.72 kB / 0.8555 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0005175/0.6813, allocations: 298.8 kB / 0.8558 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.6816, allocations: 108.7 kB / 0.8559 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.6819, allocations: 107.6 kB / 0.856 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.6822, allocations: 159.4 kB / 0.8562 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.6822, allocations: 20 kB / 0.8562 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 5.253e-05/0.6823, allocations: 16 kB / 0.8562 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.6824, allocations: 67.81 kB / 0.8563 GB, free: 9.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.6825, allocations: 107.4 kB / 0.8564 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.6828, allocations: 241.2 kB / 0.8566 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6828, allocations: 0 / 0.8566 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6828, allocations: 0 / 0.8566 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.6828, allocations: 0 / 0.8566 GB, free: 8.73 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005462/0.6834, allocations: 413.8 kB / 0.857 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6834, allocations: 8.031 kB / 0.857 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.724e-05/0.6835, allocations: 66.72 kB / 0.8571 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.6835, allocations: 28.8 kB / 0.8571 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.6839, allocations: 217.6 kB / 0.8573 GB, free: 7.953 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.684, allocations: 12.44 kB / 0.8573 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.684, allocations: 23.94 kB / 0.8573 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.6844, allocations: 304.9 kB / 0.8576 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.6845, allocations: 7.922 kB / 0.8576 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.6845, allocations: 12 kB / 0.8576 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.6845, allocations: 8 kB / 0.8577 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.6847, allocations: 123.7 kB / 0.8578 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.6863, allocations: 1.923 MB / 0.8597 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.6864, allocations: 177.1 kB / 0.8598 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/0.6865, allocations: 80.14 kB / 0.8599 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.6865, allocations: 75.28 kB / 0.86 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/0.6866, allocations: 109.8 kB / 0.8601 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.6866, allocations: 0 / 0.8601 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 0.0001329/0.6867, allocations: 53.5 kB / 0.8601 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.6868, allocations: 130.7 kB / 0.8603 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.6872, allocations: 336.5 kB / 0.8606 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.6872, allocations: 25.7 kB / 0.8606 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.6873, allocations: 163.8 kB / 0.8608 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-06/0.6873, allocations: 0 / 0.8608 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.6874, allocations: 25.7 kB / 0.8608 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.6875, allocations: 334.8 kB / 0.8611 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.6876, allocations: 7.984 kB / 0.8611 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.6876, allocations: 58.88 kB / 0.8612 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.344e-05/0.6877, allocations: 74.73 kB / 0.8612 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6877, allocations: 0 / 0.8612 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001891/0.6879, allocations: 105.5 kB / 0.8613 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.6879, allocations: 7.938 kB / 0.8613 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6879, allocations: 4 kB / 0.8613 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.6879, allocations: 0 / 0.8613 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.688, allocations: 15.98 kB / 0.8614 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.688, allocations: 4 kB / 0.8614 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.6881, allocations: 31.73 kB / 0.8614 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.6881, allocations: 4 kB / 0.8614 GB, free: 3.473 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001505/0.6883, allocations: 213.1 kB / 0.8616 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.703e-05/0.6884, allocations: 132.8 kB / 0.8617 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.6884, allocations: 126 kB / 0.8618 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.628e-05/0.6885, allocations: 180.3 kB / 0.862 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-05/0.6886, allocations: 188.3 kB / 0.8622 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.674e-05/0.6887, allocations: 180.2 kB / 0.8624 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.6891, allocations: 448.2 kB / 0.8628 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-05/0.6891, allocations: 116.5 kB / 0.8629 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.6892, allocations: 101 kB / 0.863 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.84e-05/0.6893, allocations: 184.1 kB / 0.8632 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.303e-05/0.6893, allocations: 180.2 kB / 0.8634 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-05/0.6894, allocations: 180.3 kB / 0.8635 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.154e-05/0.6895, allocations: 188.2 kB / 0.8637 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.6897, allocations: 323.6 kB / 0.864 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.6898, allocations: 140.8 kB / 0.8641 GB, free: 496 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.6899, allocations: 176.3 kB / 0.8643 GB, free: 312 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6901, allocations: 108.9 kB / 0.8644 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.6902, allocations: 176.3 kB / 0.8646 GB, free: 12 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.961e-05/0.6902, allocations: 120.9 kB / 0.8647 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002577/0.6905, allocations: 235 kB / 0.8649 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6905, allocations: 0 / 0.8649 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002623/0.6907, allocations: 27.95 kB / 0.865 GB, free: 15.63 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.0004982/0.6912, allocations: 0.8242 MB / 0.8658 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.6914, allocations: 31.86 kB / 0.8658 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6914, allocations: 3.938 kB / 0.8658 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.6914, allocations: 0 / 0.8658 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.6921, allocations: 0.5246 MB / 0.8663 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.6951, allocations: 2.514 MB / 0.8688 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.6955, allocations: 0.7401 MB / 0.8695 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.739e-05/0.6956, allocations: 26.3 kB / 0.8695 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.949e-05/0.6957, allocations: 67.41 kB / 0.8696 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of SimCode: time 7.02e-07/0.6957, allocations: 0 / 0.8696 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.7297, allocations: 4.94 MB / 0.8744 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.36, allocations: 4.734 kB / 0.8744 GB, free: 5.965 MB / 0.6387 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.7502158600837] Failed to read output from testmodel.py, exit status != 0: 11.460296062054113 11.486437225 10.798637799 Calling exit ...