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.001569/0.001569, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001497/0.001497, allocations: 215.9 kB / 22.25 MB, free: 4.855 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.801 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.8222/0.8222, allocations: 134 MB / 446.4 MB, free: 9.934 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.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: 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.002163/0.002163, allocations: 66.8 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1873, allocations: 85.92 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5921/0.7794, allocations: 142.3 MB / 0.8413 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005156/0.7845, allocations: 3.245 MB / 0.8445 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.7848, allocations: 15.88 kB / 0.8445 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004662/0.7853, allocations: 139 kB / 0.8447 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.7865, allocations: 454 kB / 0.8451 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.7881, allocations: 0.6119 MB / 0.8457 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007818/0.7889, allocations: 0.6284 MB / 0.8463 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.7892, allocations: 193.3 kB / 0.8465 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001306/0.7905, allocations: 351.8 kB / 0.8468 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.7908, allocations: 195.2 kB / 0.847 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.7909, allocations: 20 kB / 0.847 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008813/0.7918, allocations: 482.8 kB / 0.8475 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.7919, allocations: 103.6 kB / 0.8476 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.792, allocations: 119.5 kB / 0.8477 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008415/0.7929, allocations: 0.5548 MB / 0.8482 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7929, allocations: 0 / 0.8482 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7929, allocations: 0 / 0.8482 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.7929, allocations: 0 / 0.8482 GB, free: 13.92 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001033/0.7939, allocations: 0.5669 MB / 0.8488 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.794, allocations: 12.02 kB / 0.8488 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.143e-05/0.794, allocations: 66.36 kB / 0.8489 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/0.7946, allocations: 79.75 kB / 0.849 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.795, allocations: 239.8 kB / 0.8492 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.795, allocations: 16.44 kB / 0.8492 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.795, allocations: 16 kB / 0.8492 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.7957, allocations: 367.5 kB / 0.8496 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.7957, allocations: 0 / 0.8496 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.7958, allocations: 11.94 kB / 0.8496 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.7958, allocations: 4 kB / 0.8496 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/0.7965, allocations: 252.9 kB / 0.8498 GB, free: 12.21 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.7981, allocations: 0.9878 MB / 0.8508 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.7985, allocations: 166.5 kB / 0.8509 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.7988, allocations: 120.8 kB / 0.8511 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004727/0.7993, allocations: 67.92 kB / 0.8511 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.7993, allocations: 38.5 kB / 0.8512 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.7993, allocations: 0 / 0.8512 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=14): time 0.002205/0.8016, allocations: 0.5058 MB / 0.8517 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.8016, allocations: 55.41 kB / 0.8517 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.8019, allocations: 249.8 kB / 0.8519 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.8019, allocations: 33.7 kB / 0.852 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.802, allocations: 172.2 kB / 0.8521 GB, free: 9.711 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.123e-05/0.8021, allocations: 47.59 kB / 0.8522 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.8022, allocations: 33.72 kB / 0.8522 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8023, allocations: 334.8 kB / 0.8525 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.8026, allocations: 95.91 kB / 0.8526 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.8029, allocations: 161.9 kB / 0.8528 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.8035, allocations: 235.4 kB / 0.853 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8035, allocations: 5.5 kB / 0.853 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001203/0.8048, allocations: 358 kB / 0.8534 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8048, allocations: 4 kB / 0.8534 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.8048, allocations: 4.125 kB / 0.8534 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.8054, allocations: 88.77 kB / 0.8534 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.8056, allocations: 47.91 kB / 0.8535 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.8079, allocations: 1.619 MB / 0.8551 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.8082, allocations: 29.48 kB / 0.8551 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.8082, allocations: 8 kB / 0.8551 GB, free: 6.492 MB / 0.6231 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.0001954/0.8084, allocations: 150.6 kB / 0.8553 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/0.8085, allocations: 27.81 kB / 0.8553 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.8096, allocations: 367.8 kB / 0.8556 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.8096, allocations: 0 / 0.8556 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.8096, allocations: 0 / 0.8556 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.8096, allocations: 3.984 kB / 0.8556 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.8114, allocations: 0.7191 MB / 0.8563 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.8114, allocations: 5.219 kB / 0.8563 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.8116, allocations: 39.89 kB / 0.8564 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.812, allocations: 72.78 kB / 0.8564 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.8121, allocations: 8 kB / 0.8565 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.8141, allocations: 1.637 MB / 0.8581 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.8141, allocations: 0 / 0.8581 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.8153, allocations: 453.2 kB / 0.8585 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.8154, allocations: 47.91 kB / 0.8585 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.8155, allocations: 7.938 kB / 0.8585 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.8157, allocations: 27.95 kB / 0.8586 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.8158, allocations: 19.91 kB / 0.8586 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.8158, allocations: 8 kB / 0.8586 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001886/0.816, allocations: 185.2 kB / 0.8588 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.816, allocations: 0 / 0.8588 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004469/0.8165, allocations: 87.88 kB / 0.8589 GB, free: 2.434 MB / 0.6231 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.001691/0.8181, allocations: 1.023 MB / 0.8599 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.8192, allocations: 350.7 kB / 0.8602 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8192, allocations: 0 / 0.8602 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.8199, allocations: 258.6 kB / 0.8604 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/0.8206, allocations: 124.4 kB / 0.8606 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.8257, allocations: 2.819 MB / 0.8633 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.8259, allocations: 162.2 kB / 0.8635 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.8261, allocations: 58.25 kB / 0.8635 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.8263, allocations: 79.41 kB / 0.8636 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of SimCode: time 9.31e-07/0.8263, allocations: 0 / 0.8636 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04135/0.8676, allocations: 9.513 MB / 0.8729 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.47, allocations: 6.562 kB / 0.8729 GB, free: 4.121 MB / 0.6387 GB " [Timeout remaining time 646] (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: 17.031240235082805] Failed to read output from testmodel.py, exit status != 0: 13.587879163678735 13.605098863 12.808978588 Calling exit ...