Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.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.0008553/0.0008553, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001296/0.001296, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9107/0.9107, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7202/0.7202, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.337e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4609/0.4609, allocations: 142.3 MB / 0.7571 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003945/0.4648, allocations: 3.264 MB / 0.7603 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.4652, allocations: 19.09 kB / 0.7603 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.4657, allocations: 144.1 kB / 0.7604 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.467, allocations: 466.9 kB / 0.7609 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.4686, allocations: 0.653 MB / 0.7615 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007615/0.4694, allocations: 0.6215 MB / 0.7621 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.4698, allocations: 188.9 kB / 0.7623 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.4713, allocations: 0.5828 MB / 0.7629 GB, free: 8.391 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.4715, allocations: 168.6 kB / 0.763 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.969e-05/0.4716, allocations: 22.41 kB / 0.763 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006856/0.4723, allocations: 482.7 kB / 0.7635 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.4724, allocations: 96.48 kB / 0.7636 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.4725, allocations: 102.1 kB / 0.7637 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.4733, allocations: 0.5746 MB / 0.7642 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4733, allocations: 1.562 kB / 0.7642 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4733, allocations: 0 / 0.7642 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.4733, allocations: 4 kB / 0.7643 GB, free: 7.883 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007735/0.4741, allocations: 0.5601 MB / 0.7648 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4741, allocations: 14.98 kB / 0.7648 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.4741, allocations: 54.23 kB / 0.7649 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.4745, allocations: 89.11 kB / 0.765 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.4748, allocations: 242.1 kB / 0.7652 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4749, allocations: 14.12 kB / 0.7652 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.4749, allocations: 29 kB / 0.7652 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.4753, allocations: 366.5 kB / 0.7656 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.4753, allocations: 0.75 kB / 0.7656 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4754, allocations: 6.375 kB / 0.7656 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.4754, allocations: 5.781 kB / 0.7656 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004113/0.4758, allocations: 251.4 kB / 0.7658 GB, free: 6.887 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.4767, allocations: 0.9846 MB / 0.7668 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.477, allocations: 164.7 kB / 0.7669 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.4772, allocations: 116.1 kB / 0.7671 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/0.4775, allocations: 75.7 kB / 0.7671 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4776, allocations: 42.34 kB / 0.7672 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.4776, allocations: 0 / 0.7672 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.001279/0.4788, allocations: 0.4926 MB / 0.7676 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.4789, allocations: 57.36 kB / 0.7677 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.479, allocations: 268.9 kB / 0.768 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.4791, allocations: 25.7 kB / 0.768 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.4791, allocations: 173.8 kB / 0.7681 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.4792, allocations: 48.45 kB / 0.7682 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-05/0.4792, allocations: 37.34 kB / 0.7682 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.4793, allocations: 336 kB / 0.7686 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.4794, allocations: 93.19 kB / 0.7686 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.4796, allocations: 161.8 kB / 0.7688 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.4799, allocations: 242.7 kB / 0.769 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4799, allocations: 5.062 kB / 0.769 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006276/0.4806, allocations: 346.6 kB / 0.7694 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.4806, allocations: 6.656 kB / 0.7694 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4806, allocations: 1.781 kB / 0.7694 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003483/0.481, allocations: 89.59 kB / 0.7695 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4811, allocations: 46.31 kB / 0.7695 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.4823, allocations: 1.617 MB / 0.7711 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.4824, allocations: 36.69 kB / 0.7711 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4825, allocations: 5.266 kB / 0.7711 GB, free: 3.254 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.399e-05/0.4825, allocations: 147.7 kB / 0.7713 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.4826, allocations: 32.31 kB / 0.7713 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006433/0.4832, allocations: 367.8 kB / 0.7716 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4832, allocations: 1.125 kB / 0.7716 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.4832, allocations: 0 / 0.7716 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4832, allocations: 6.484 kB / 0.7716 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000954/0.4842, allocations: 0.719 MB / 0.7723 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4842, allocations: 1.094 kB / 0.7724 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.682e-05/0.4843, allocations: 33.19 kB / 0.7724 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002157/0.4845, allocations: 79 kB / 0.7725 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.4845, allocations: 7.406 kB / 0.7725 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.4855, allocations: 1.642 MB / 0.7741 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4855, allocations: 1.828 kB / 0.7741 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.4861, allocations: 452 kB / 0.7745 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.4862, allocations: 45.53 kB / 0.7745 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.4862, allocations: 7.266 kB / 0.7746 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.4864, allocations: 24 kB / 0.7746 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.4864, allocations: 23.61 kB / 0.7746 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.4864, allocations: 5.266 kB / 0.7746 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001242/0.4866, allocations: 186.2 kB / 0.7748 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4866, allocations: 0 / 0.7748 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002918/0.4869, allocations: 84.38 kB / 0.7749 GB, free: 0.6719 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000946/0.4878, allocations: 1.018 MB / 0.7759 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006186/0.4884, allocations: 364.1 kB / 0.7762 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4884, allocations: 4 kB / 0.7762 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.4887, allocations: 256.6 kB / 0.7764 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.4892, allocations: 136.4 kB / 0.7766 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.4924, allocations: 2.812 MB / 0.7793 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.4926, allocations: 160.2 kB / 0.7795 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001412/0.4927, allocations: 54.25 kB / 0.7795 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.498e-05/0.4928, allocations: 76.61 kB / 0.7796 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of SimCode: time 8.92e-07/0.4928, allocations: 1.406 kB / 0.7796 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.5203, allocations: 9.644 MB / 0.789 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.554, allocations: 2.578 kB / 0.789 GB, free: 11.42 MB / 0.6511 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.415764585137367] Failed to read output from testmodel.py, exit status != 0: 8.643214035779238 8.651010415 8.175969683 Calling exit ...