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.0007724/0.0007724, 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.00085/0.00085, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9352/0.9352, 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 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.7161/0.7161, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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 2.244e-06/2.244e-06, allocations: 0 / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.534e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4655/0.4655, allocations: 142.3 MB / 0.7571 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004566/0.4701, allocations: 3.261 MB / 0.7603 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.4705, allocations: 14.66 kB / 0.7603 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.471, allocations: 139.6 kB / 0.7604 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.4725, allocations: 475.2 kB / 0.7609 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.4744, allocations: 0.65 MB / 0.7615 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009478/0.4754, allocations: 0.6284 MB / 0.7621 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.4759, allocations: 183.9 kB / 0.7623 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.4779, allocations: 0.5769 MB / 0.7628 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.4783, allocations: 168.6 kB / 0.763 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.4784, allocations: 22.91 kB / 0.763 GB, free: 8.328 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.4794, allocations: 482.7 kB / 0.7635 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.4796, allocations: 101.3 kB / 0.7636 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.4797, allocations: 97.28 kB / 0.7637 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.4809, allocations: 0.5752 MB / 0.7642 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4809, allocations: 0.75 kB / 0.7642 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4809, allocations: 0 / 0.7642 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.4809, allocations: 0 / 0.7642 GB, free: 7.875 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.0009646/0.4819, allocations: 0.5649 MB / 0.7648 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4819, allocations: 9.438 kB / 0.7648 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.018e-05/0.482, allocations: 58.88 kB / 0.7649 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004534/0.4824, allocations: 84.7 kB / 0.7649 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.4828, allocations: 251 kB / 0.7652 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.4828, allocations: 16.5 kB / 0.7652 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.4828, allocations: 18.19 kB / 0.7652 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.4833, allocations: 367.6 kB / 0.7656 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4833, allocations: 3.938 kB / 0.7656 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.4833, allocations: 13.66 kB / 0.7656 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4834, allocations: 5.469 kB / 0.7656 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.4838, allocations: 248.6 kB / 0.7658 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.4849, allocations: 0.9807 MB / 0.7668 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.4852, allocations: 159.7 kB / 0.7669 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.4854, allocations: 120.2 kB / 0.767 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/0.4857, allocations: 76.12 kB / 0.7671 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4857, allocations: 33.36 kB / 0.7671 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.225e-06/0.4857, allocations: 0 / 0.7671 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.001351/0.4871, allocations: 0.5039 MB / 0.7676 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.4871, allocations: 58.72 kB / 0.7677 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.4873, allocations: 260.5 kB / 0.7679 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.4873, allocations: 29.7 kB / 0.768 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.4874, allocations: 173.2 kB / 0.7681 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.4874, allocations: 48.91 kB / 0.7682 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.4875, allocations: 41.78 kB / 0.7682 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.4875, allocations: 331.9 kB / 0.7685 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.4877, allocations: 100.6 kB / 0.7686 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.4879, allocations: 166 kB / 0.7688 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.4883, allocations: 238.1 kB / 0.769 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4883, allocations: 1.062 kB / 0.769 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006721/0.489, allocations: 351.4 kB / 0.7694 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.489, allocations: 5.625 kB / 0.7694 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.489, allocations: 1.797 kB / 0.7694 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.4893, allocations: 89.14 kB / 0.7695 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4895, allocations: 39.09 kB / 0.7695 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.4908, allocations: 1.627 MB / 0.7711 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.4909, allocations: 36.56 kB / 0.7711 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.491, allocations: 5.984 kB / 0.7711 GB, free: 3.246 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.0001261/0.4911, allocations: 145 kB / 0.7713 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.4911, allocations: 27.75 kB / 0.7713 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.4918, allocations: 372.2 kB / 0.7716 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4918, allocations: 1.312 kB / 0.7716 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4918, allocations: 0.75 kB / 0.7716 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4918, allocations: 2.047 kB / 0.7716 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.4928, allocations: 0.7141 MB / 0.7723 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4928, allocations: 1.25 kB / 0.7723 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.4929, allocations: 44.66 kB / 0.7724 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.4932, allocations: 74.98 kB / 0.7725 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4932, allocations: 2.312 kB / 0.7725 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.4942, allocations: 1.639 MB / 0.7741 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4942, allocations: 1.344 kB / 0.7741 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.4948, allocations: 451.8 kB / 0.7745 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.4949, allocations: 45.73 kB / 0.7745 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.495, allocations: 4.391 kB / 0.7745 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.4951, allocations: 22.27 kB / 0.7746 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.4952, allocations: 27.53 kB / 0.7746 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.4952, allocations: 5.094 kB / 0.7746 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001278/0.4953, allocations: 192.8 kB / 0.7748 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4953, allocations: 4 kB / 0.7748 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003927/0.4957, allocations: 79.02 kB / 0.7749 GB, free: 0.668 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.001002/0.4967, allocations: 1.021 MB / 0.7759 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006826/0.4974, allocations: 371.1 kB / 0.7762 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4974, allocations: 0 / 0.7762 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.4977, allocations: 245.8 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.0005216/0.4982, allocations: 147.6 kB / 0.7766 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.5017, allocations: 2.802 MB / 0.7793 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.5018, allocations: 169 kB / 0.7795 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002184/0.5021, allocations: 53.09 kB / 0.7795 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5022, allocations: 76.81 kB / 0.7796 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/0.5022, allocations: 0 / 0.7796 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.5315, allocations: 9.634 MB / 0.789 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.624, allocations: 16.56 kB / 0.789 GB, free: 11.34 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=50 --tolerance=1e-06 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.376698647625744] Failed to read output from testmodel.py, exit status != 0: 8.719792203977704 8.729651399 8.246199673 Calling exit ...