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.001372/0.001372, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 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.001679/0.001679, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.463/1.463, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.288/1.288, allocations: 154.8 MB / 414.4 MB, free: 468 kB / 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 178] 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: translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0.6562 kB / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.182e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2176/0.2176, allocations: 142.3 MB / 0.6588 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006102/0.2237, allocations: 3.258 MB / 0.662 GB, free: 364 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000392/0.2241, allocations: 15.81 kB / 0.662 GB, free: 348 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005557/0.2246, allocations: 138.9 kB / 0.6622 GB, free: 208 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001481/0.2261, allocations: 469.6 kB / 0.6626 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.2281, allocations: 0.6577 MB / 0.6632 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009865/0.2291, allocations: 0.6205 MB / 0.6639 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.2295, allocations: 199.6 kB / 0.664 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.2318, allocations: 0.6159 MB / 0.6646 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.2321, allocations: 171.5 kB / 0.6648 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.85e-05/0.2322, allocations: 23.94 kB / 0.6648 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.2333, allocations: 482.6 kB / 0.6653 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.2335, allocations: 103.7 kB / 0.6654 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.2337, allocations: 95.77 kB / 0.6655 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.2348, allocations: 0.5802 MB / 0.666 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2348, allocations: 0 / 0.666 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2348, allocations: 0 / 0.666 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.2349, allocations: 0 / 0.666 GB, free: 12.25 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.001362/0.2362, allocations: 0.5669 MB / 0.6666 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2363, allocations: 8.031 kB / 0.6666 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000716/0.237, allocations: 119.4 kB / 0.6667 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.2375, allocations: 264.1 kB / 0.667 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.2375, allocations: 12.5 kB / 0.667 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.2376, allocations: 24 kB / 0.667 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008037/0.2384, allocations: 356.4 kB / 0.6673 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2384, allocations: 4 kB / 0.6674 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.37e-05/0.2384, allocations: 8 kB / 0.6674 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2384, allocations: 4 kB / 0.6674 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.2392, allocations: 256.8 kB / 0.6676 GB, free: 10.57 MB / 0.6355 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.001845/0.241, allocations: 0.9488 MB / 0.6685 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.2416, allocations: 166.5 kB / 0.6687 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.2419, allocations: 116.8 kB / 0.6688 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005451/0.2424, allocations: 71.91 kB / 0.6689 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.2425, allocations: 42.5 kB / 0.6689 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.2425, allocations: 0 / 0.6689 GB, free: 9.156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.002553/0.245, allocations: 0.5057 MB / 0.6694 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.2451, allocations: 51.41 kB / 0.6695 GB, free: 8.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.2454, allocations: 233.8 kB / 0.6697 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.2454, allocations: 25.7 kB / 0.6697 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.2456, allocations: 176.3 kB / 0.6699 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.2456, allocations: 51.58 kB / 0.6699 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.2457, allocations: 41.66 kB / 0.67 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.2459, allocations: 330.8 kB / 0.6703 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.2463, allocations: 95.92 kB / 0.6704 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.2467, allocations: 164.5 kB / 0.6705 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.2473, allocations: 243.2 kB / 0.6708 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2473, allocations: 0 / 0.6708 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001344/0.2487, allocations: 354 kB / 0.6711 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.2487, allocations: 11.94 kB / 0.6711 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2487, allocations: 4.125 kB / 0.6711 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.2498, allocations: 140.7 kB / 0.6712 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.2501, allocations: 39.95 kB / 0.6713 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.2527, allocations: 1.606 MB / 0.6729 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.253, allocations: 23.88 kB / 0.6729 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.2531, allocations: 8 kB / 0.6729 GB, free: 4.887 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.0002113/0.2533, allocations: 153.7 kB / 0.673 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.2533, allocations: 27.86 kB / 0.6731 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.2547, allocations: 356 kB / 0.6734 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2547, allocations: 0 / 0.6734 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2547, allocations: 3.938 kB / 0.6734 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2547, allocations: 3.984 kB / 0.6734 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.2565, allocations: 0.6923 MB / 0.6741 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2566, allocations: 0 / 0.6741 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.2568, allocations: 40.06 kB / 0.6741 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008471/0.2576, allocations: 128.7 kB / 0.6742 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.2576, allocations: 8 kB / 0.6742 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002471/0.2601, allocations: 1.621 MB / 0.6758 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2601, allocations: 4.031 kB / 0.6758 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.2614, allocations: 457.1 kB / 0.6763 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.2615, allocations: 39.84 kB / 0.6763 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.2616, allocations: 7.984 kB / 0.6763 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.2619, allocations: 23.97 kB / 0.6763 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.262, allocations: 15.97 kB / 0.6764 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.262, allocations: 8 kB / 0.6764 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001798/0.2622, allocations: 161.2 kB / 0.6765 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.2622, allocations: 4 kB / 0.6765 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004819/0.2626, allocations: 83.83 kB / 0.6766 GB, free: 0.875 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.0003566/0.263, allocations: 151 kB / 0.6767 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.2641, allocations: 358 kB / 0.6771 GB, free: 368 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2641, allocations: 4.25 kB / 0.6771 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006608/0.2648, allocations: 250.4 kB / 0.6773 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2034/0.4682, allocations: 110.6 kB / 0.6774 GB, free: 202.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.4695, allocations: 495.7 kB / 0.6779 GB, free: 202 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.4696, allocations: 160.4 kB / 0.6781 GB, free: 202 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002637/0.4699, allocations: 52.94 kB / 0.6781 GB, free: 202 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.441e-05/0.47, allocations: 23.44 kB / 0.6781 GB, free: 202 MB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/0.47, allocations: 0 / 0.6781 GB, free: 202 MB / 0.6355 GB Notification: Performance of Templates: time 0.01226/0.4822, allocations: 5.653 MB / 0.6837 GB, free: 201.8 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.542370495968498]