Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008586/0.0008586, 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.001211/0.001211, 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.9185/0.9185, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7173/0.7173, allocations: 154.6 MB / 413.7 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.545e-05, allocations: 6.297 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4499/0.4499, allocations: 142.3 MB / 0.757 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.4531, allocations: 3.249 MB / 0.7602 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.4533, allocations: 18.5 kB / 0.7602 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.4537, allocations: 144.3 kB / 0.7604 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.4547, allocations: 466.7 kB / 0.7608 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.4559, allocations: 0.6496 MB / 0.7614 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.4564, allocations: 0.6212 MB / 0.762 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002909/0.4567, allocations: 187.2 kB / 0.7622 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.4579, allocations: 0.581 MB / 0.7628 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.4581, allocations: 177.1 kB / 0.763 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.4582, allocations: 22.22 kB / 0.763 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005562/0.4587, allocations: 475.5 kB / 0.7634 GB, free: 8.258 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.382e-05/0.4588, allocations: 99.94 kB / 0.7635 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.4589, allocations: 99.53 kB / 0.7636 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006873/0.4596, allocations: 0.5732 MB / 0.7642 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4596, allocations: 5.562 kB / 0.7642 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4596, allocations: 0 / 0.7642 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.4596, allocations: 0 / 0.7642 GB, free: 7.969 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.0007326/0.4603, allocations: 0.5682 MB / 0.7647 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4604, allocations: 11.91 kB / 0.7647 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.4604, allocations: 54.23 kB / 0.7648 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003736/0.4608, allocations: 85.22 kB / 0.7649 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.4611, allocations: 250.5 kB / 0.7651 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4611, allocations: 13.88 kB / 0.7651 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.4612, allocations: 24.22 kB / 0.7652 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.4616, allocations: 366.9 kB / 0.7655 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4616, allocations: 0 / 0.7655 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.4616, allocations: 10.44 kB / 0.7655 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4616, allocations: 9.297 kB / 0.7655 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004119/0.462, allocations: 243.9 kB / 0.7658 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.463, allocations: 0.9807 MB / 0.7667 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002876/0.4633, allocations: 176.1 kB / 0.7669 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.4635, allocations: 113.2 kB / 0.767 GB, free: 6.121 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002867/0.4638, allocations: 76 kB / 0.7671 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.4638, allocations: 33.59 kB / 0.7671 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.4638, allocations: 0 / 0.7671 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.00124/0.465, allocations: 0.5003 MB / 0.7676 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.4651, allocations: 56.78 kB / 0.7676 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.4653, allocations: 264.8 kB / 0.7679 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.4653, allocations: 26.92 kB / 0.7679 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.4653, allocations: 169 kB / 0.7681 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.4654, allocations: 57.05 kB / 0.7681 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.4654, allocations: 37.2 kB / 0.7682 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.38e-05/0.4655, allocations: 336 kB / 0.7685 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.4656, allocations: 93.06 kB / 0.7686 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4658, allocations: 160.8 kB / 0.7687 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.4662, allocations: 246.3 kB / 0.769 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4662, allocations: 5.188 kB / 0.769 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006261/0.4668, allocations: 350.9 kB / 0.7693 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4668, allocations: 5.281 kB / 0.7693 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4668, allocations: 1.062 kB / 0.7693 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/0.4672, allocations: 89.95 kB / 0.7694 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.4673, allocations: 43.3 kB / 0.7694 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.4685, allocations: 1.625 MB / 0.771 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.4686, allocations: 36.17 kB / 0.7711 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.4687, allocations: 10.92 kB / 0.7711 GB, free: 3.336 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 0.0001061/0.4688, allocations: 143.7 kB / 0.7712 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.4688, allocations: 27.62 kB / 0.7712 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006634/0.4695, allocations: 363.3 kB / 0.7716 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4695, allocations: 2.406 kB / 0.7716 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.4695, allocations: 0 / 0.7716 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4695, allocations: 6.391 kB / 0.7716 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009809/0.4705, allocations: 0.7207 MB / 0.7723 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4705, allocations: 0 / 0.7723 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.4706, allocations: 37.25 kB / 0.7723 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002205/0.4708, allocations: 79.03 kB / 0.7724 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4708, allocations: 6.203 kB / 0.7724 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009695/0.4718, allocations: 1.631 MB / 0.774 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4718, allocations: 1.156 kB / 0.774 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.4724, allocations: 453.9 kB / 0.7744 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.4725, allocations: 45.14 kB / 0.7745 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.4725, allocations: 7.875 kB / 0.7745 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.4726, allocations: 23.97 kB / 0.7745 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/0.4727, allocations: 21.81 kB / 0.7745 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.4727, allocations: 10.7 kB / 0.7745 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001306/0.4728, allocations: 191.1 kB / 0.7747 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4728, allocations: 0 / 0.7747 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003079/0.4732, allocations: 83.41 kB / 0.7748 GB, free: 0.7578 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.0008842/0.474, allocations: 1.017 MB / 0.7758 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006127/0.4747, allocations: 370.7 kB / 0.7761 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4747, allocations: 1.094 kB / 0.7761 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003232/0.475, allocations: 257.8 kB / 0.7764 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.4754, allocations: 130.7 kB / 0.7765 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.4787, allocations: 2.809 MB / 0.7793 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4788, allocations: 165.7 kB / 0.7794 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001357/0.479, allocations: 53.25 kB / 0.7795 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.928e-05/0.4791, allocations: 80.11 kB / 0.7795 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/0.4791, allocations: 0 / 0.7795 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.5024, allocations: 9.642 MB / 0.789 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.515, allocations: 7.422 kB / 0.789 GB, free: 11.46 MB / 0.6511 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.351012866944075] Failed to read output from testmodel.py, exit status != 0: 8.606413376517594 8.618092871 8.156575101 Calling exit ...