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.001043/0.001043, 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.001138/0.001138, 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.938/0.938, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7152/0.7152, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.312e-06/1.312e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.392e-05, allocations: 3.938 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.438/0.438, allocations: 142.3 MB / 0.757 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.4412, allocations: 3.257 MB / 0.7602 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.4414, allocations: 14.41 kB / 0.7602 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004025/0.4418, allocations: 141.2 kB / 0.7604 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009078/0.4427, allocations: 470.6 kB / 0.7608 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.4438, allocations: 0.6457 MB / 0.7614 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.4444, allocations: 0.6288 MB / 0.762 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.4448, allocations: 183.4 kB / 0.7622 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.446, allocations: 0.5807 MB / 0.7628 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.4463, allocations: 170.3 kB / 0.7629 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.4463, allocations: 21.53 kB / 0.763 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005552/0.4469, allocations: 479.5 kB / 0.7634 GB, free: 8.211 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.4469, allocations: 95.97 kB / 0.7635 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.447, allocations: 99.59 kB / 0.7636 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006718/0.4477, allocations: 0.5772 MB / 0.7642 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4477, allocations: 3.938 kB / 0.7642 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4477, allocations: 1.531 kB / 0.7642 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4477, allocations: 0 / 0.7642 GB, free: 7.922 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.0007658/0.4485, allocations: 0.568 MB / 0.7647 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4485, allocations: 14.59 kB / 0.7648 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.072e-05/0.4486, allocations: 57.64 kB / 0.7648 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003968/0.449, allocations: 85.91 kB / 0.7649 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.4493, allocations: 247.2 kB / 0.7651 GB, free: 7.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.4493, allocations: 12.5 kB / 0.7651 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.4494, allocations: 21.34 kB / 0.7652 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.4498, allocations: 366.1 kB / 0.7655 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4498, allocations: 1.844 kB / 0.7655 GB, free: 7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4498, allocations: 14.33 kB / 0.7655 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4499, allocations: 4.375 kB / 0.7655 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003968/0.4502, allocations: 249.1 kB / 0.7658 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009352/0.4512, allocations: 0.9808 MB / 0.7667 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.4515, allocations: 172.5 kB / 0.7669 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/0.4517, allocations: 115.5 kB / 0.767 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002647/0.4519, allocations: 75.81 kB / 0.7671 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.4519, allocations: 37.41 kB / 0.7671 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.4519, allocations: 0 / 0.7671 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.001218/0.4532, allocations: 0.4972 MB / 0.7676 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.4532, allocations: 57.36 kB / 0.7676 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.4534, allocations: 264.5 kB / 0.7679 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4534, allocations: 31.05 kB / 0.7679 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.4534, allocations: 169.2 kB / 0.7681 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.4535, allocations: 48.42 kB / 0.7681 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.4535, allocations: 38.12 kB / 0.7682 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.4536, allocations: 336.1 kB / 0.7685 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.4537, allocations: 92.86 kB / 0.7686 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/0.4539, allocations: 164.2 kB / 0.7687 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.4543, allocations: 242.2 kB / 0.769 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4543, allocations: 4.031 kB / 0.769 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006522/0.4549, allocations: 347.7 kB / 0.7693 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4549, allocations: 5.625 kB / 0.7693 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.4549, allocations: 5.094 kB / 0.7693 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003189/0.4553, allocations: 90.23 kB / 0.7694 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4554, allocations: 42.19 kB / 0.7694 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.4566, allocations: 1.624 MB / 0.771 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.4567, allocations: 39.47 kB / 0.7711 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.4567, allocations: 7.859 kB / 0.7711 GB, free: 3.293 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.155e-05/0.4568, allocations: 142.7 kB / 0.7712 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.4569, allocations: 27.73 kB / 0.7712 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006508/0.4575, allocations: 363.8 kB / 0.7716 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.4575, allocations: 2.031 kB / 0.7716 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.4575, allocations: 5.5 kB / 0.7716 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.4575, allocations: 1.125 kB / 0.7716 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009524/0.4585, allocations: 0.7182 MB / 0.7723 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4585, allocations: 1.875 kB / 0.7723 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.888e-05/0.4586, allocations: 32.66 kB / 0.7723 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/0.4588, allocations: 83.91 kB / 0.7724 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4588, allocations: 6.109 kB / 0.7724 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00099/0.4598, allocations: 1.634 MB / 0.774 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4598, allocations: 1.062 kB / 0.774 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.4604, allocations: 449 kB / 0.7744 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.4605, allocations: 45.98 kB / 0.7745 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.4605, allocations: 12.59 kB / 0.7745 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.4606, allocations: 19.53 kB / 0.7745 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-05/0.4607, allocations: 22.67 kB / 0.7745 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.4607, allocations: 9.625 kB / 0.7745 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001146/0.4608, allocations: 187 kB / 0.7747 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4608, allocations: 3.938 kB / 0.7747 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002705/0.4611, allocations: 83.91 kB / 0.7748 GB, free: 0.7148 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.0008467/0.4619, allocations: 1.026 MB / 0.7758 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006126/0.4626, allocations: 364.8 kB / 0.7761 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4626, allocations: 256 / 0.7761 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.4629, allocations: 255.7 kB / 0.7764 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.4633, allocations: 127.5 kB / 0.7765 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.4663, allocations: 2.829 MB / 0.7793 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.4664, allocations: 164.5 kB / 0.7794 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001257/0.4666, allocations: 53.52 kB / 0.7795 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.4667, allocations: 76.72 kB / 0.7796 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of SimCode: time 6.21e-07/0.4667, allocations: 0 / 0.7796 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03019/0.4968, allocations: 9.635 MB / 0.789 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.451, allocations: 11.44 kB / 0.789 GB, free: 11.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=50 --tolerance=1e-06 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.234942700713873] Failed to read output from testmodel.py, exit status != 0: 8.549523481167853 8.560311454 8.110679388 Calling exit ...