Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.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.001453/0.001453, allocations: 84.73 kB / 19.44 MB, free: 356 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.001706/0.001706, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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-545:108: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-545:116: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 1.337/1.337, allocations: 154.6 MB / 414.1 MB, free: 0.625 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 178] 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: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.859e-06/4.859e-06, allocations: 3.984 kB / 0.5196 GB, free: 2.574 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.39e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008905/0.008939, allocations: 5.085 MB / 0.5246 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.2157/0.2246, allocations: 133 MB / 0.6545 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001407/0.226, allocations: 35.69 kB / 0.6545 GB, free: 8.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.2272, allocations: 369.3 kB / 0.6548 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002397/0.2296, allocations: 0.5939 MB / 0.6554 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.2323, allocations: 0.9114 MB / 0.6563 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002631/0.2349, allocations: 1.612 MB / 0.6579 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.236, allocations: 487.1 kB / 0.6584 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001526/0.2376, allocations: 0.8185 MB / 0.6592 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007154/0.2383, allocations: 438.6 kB / 0.6596 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.2385, allocations: 136 kB / 0.6597 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.2399, allocations: 0.5032 MB / 0.6602 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.2403, allocations: 350.8 kB / 0.6605 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000584/0.2409, allocations: 430.8 kB / 0.6609 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.2441, allocations: 2.056 MB / 0.6629 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.2441, allocations: 0 / 0.6629 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.345e-06/0.2441, allocations: 0 / 0.6629 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.402e-05/0.2441, allocations: 0 / 0.6629 GB, free: 15.38 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003625/0.2477, allocations: 1.659 MB / 0.6646 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2478, allocations: 8.031 kB / 0.6646 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/0.2495, allocations: 387.3 kB / 0.6649 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.2512, allocations: 0.8739 MB / 0.6658 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.071e-05/0.2513, allocations: 82.06 kB / 0.6659 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.2514, allocations: 104 kB / 0.666 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002231/0.2537, allocations: 1.29 MB / 0.6672 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.2537, allocations: 4 kB / 0.6672 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.2538, allocations: 40 kB / 0.6673 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.2538, allocations: 24 kB / 0.6673 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.256, allocations: 1.124 MB / 0.6684 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004953/0.2609, allocations: 2.381 MB / 0.6707 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.2625, allocations: 0.7471 MB / 0.6715 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.2631, allocations: 274.7 kB / 0.6717 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.22e-05/0.2632, allocations: 28.64 kB / 0.6717 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.2643, allocations: 0.5893 MB / 0.6723 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.2643, allocations: 0 / 0.6723 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.003591/0.2679, allocations: 1.154 MB / 0.6734 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.268, allocations: 192.6 kB / 0.6736 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.2692, allocations: 0.7514 MB / 0.6744 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.091e-05/0.2693, allocations: 45.7 kB / 0.6744 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.2699, allocations: 0.528 MB / 0.6749 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.2702, allocations: 261.8 kB / 0.6752 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.2705, allocations: 158.6 kB / 0.6753 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2707, allocations: 334 kB / 0.6756 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005826/0.2713, allocations: 265.9 kB / 0.6759 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008123/0.2721, allocations: 491.6 kB / 0.6764 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.2733, allocations: 0.5955 MB / 0.6769 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.2733, allocations: 7.938 kB / 0.677 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.2683/0.5416, allocations: 0.8935 MB / 0.6778 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.5416, allocations: 7.344 kB / 0.6778 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.5416, allocations: 0 / 0.6778 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009315/0.5426, allocations: 129.1 kB / 0.678 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.5432, allocations: 157.9 kB / 0.6781 GB, free: 200.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.5449, allocations: 1.521 MB / 0.6796 GB, free: 199.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.5457, allocations: 83.33 kB / 0.6797 GB, free: 199.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-05/0.5458, allocations: 34.94 kB / 0.6797 GB, free: 199.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0004214/0.5462, allocations: 295.2 kB / 0.68 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.5464, allocations: 129.5 kB / 0.6801 GB, free: 199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.5485, allocations: 1.068 MB / 0.6812 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.5485, allocations: 8.094 kB / 0.6812 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.5485, allocations: 4.906 kB / 0.6812 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5485, allocations: 6.469 kB / 0.6812 GB, free: 198.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007156/0.5492, allocations: 0.7243 MB / 0.6819 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5492, allocations: 0 / 0.6819 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.5497, allocations: 142.9 kB / 0.682 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007039/0.5504, allocations: 121.1 kB / 0.6821 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.5505, allocations: 22.08 kB / 0.6822 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.5519, allocations: 1.543 MB / 0.6837 GB, free: 197 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5519, allocations: 3.938 kB / 0.6837 GB, free: 197 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.5537, allocations: 0.971 MB / 0.6846 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.554, allocations: 212.2 kB / 0.6848 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.5541, allocations: 27.33 kB / 0.6848 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.5547, allocations: 62.86 kB / 0.6849 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.5549, allocations: 74.59 kB / 0.685 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.939e-05/0.5549, allocations: 33.39 kB / 0.685 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005336/0.5555, allocations: 0.5268 MB / 0.6855 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.5555, allocations: 0 / 0.6855 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007951/0.5563, allocations: 357.2 kB / 0.6859 GB, free: 196.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002188/0.5585, allocations: 0.6563 MB / 0.6865 GB, free: 196.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.5598, allocations: 0.7965 MB / 0.6873 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5598, allocations: 2.438 kB / 0.6873 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007574/0.5606, allocations: 495.5 kB / 0.6878 GB, free: 195.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.562, allocations: 498.9 kB / 0.6882 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.5648, allocations: 1.997 MB / 0.6902 GB, free: 194.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.5651, allocations: 0.5163 MB / 0.6907 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0007388/0.5659, allocations: 272.2 kB / 0.6909 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.5661, allocations: 117.3 kB / 0.6911 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/0.5661, allocations: 0 / 0.6911 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.02649/0.5926, allocations: 17.62 MB / 0.7083 GB, free: 192.1 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.167785070021637]