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.0007142/0.0007142, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007039/0.0007039, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8918/0.8918, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6893/0.6893, allocations: 154.6 MB / 414.5 MB, free: 0.7734 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: 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 2.174e-06/2.174e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.621e-05, allocations: 5.125 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004898/0.004925, allocations: 5.076 MB / 0.6243 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4016/0.4066, allocations: 133 MB / 0.7541 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008443/0.4074, allocations: 34.81 kB / 0.7542 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.408, allocations: 380.7 kB / 0.7545 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.4092, allocations: 0.6031 MB / 0.7551 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.4105, allocations: 0.9045 MB / 0.756 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009197/0.4114, allocations: 1.619 MB / 0.7576 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005426/0.412, allocations: 498 kB / 0.7581 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.4126, allocations: 0.8172 MB / 0.7589 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.4129, allocations: 439.8 kB / 0.7593 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.4131, allocations: 134.3 kB / 0.7594 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.4136, allocations: 0.4978 MB / 0.7599 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.4138, allocations: 351.7 kB / 0.7602 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.414, allocations: 438.1 kB / 0.7607 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.4158, allocations: 2.048 MB / 0.7627 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4158, allocations: 0.7031 kB / 0.7627 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4158, allocations: 0 / 0.7627 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.4158, allocations: 1.25 kB / 0.7627 GB, free: 10.74 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.00164/0.4175, allocations: 1.663 MB / 0.7643 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.4175, allocations: 9.562 kB / 0.7643 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007368/0.4182, allocations: 261.8 kB / 0.7645 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008951/0.4191, allocations: 0.8435 MB / 0.7654 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.4192, allocations: 77 kB / 0.7654 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.834e-05/0.4193, allocations: 95.19 kB / 0.7655 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.4205, allocations: 1.286 MB / 0.7668 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4205, allocations: 0.9688 kB / 0.7668 GB, free: 8.207 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.4205, allocations: 42.2 kB / 0.7668 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.4206, allocations: 25.44 kB / 0.7669 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.4219, allocations: 1.123 MB / 0.7679 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.4245, allocations: 2.354 MB / 0.7702 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.4255, allocations: 0.7393 MB / 0.771 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.4259, allocations: 277.2 kB / 0.7712 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.536e-05/0.4259, allocations: 25 kB / 0.7713 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005547/0.4265, allocations: 0.5867 MB / 0.7718 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 1.903e-06/0.4265, allocations: 0 / 0.7718 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001842/0.4283, allocations: 1.14 MB / 0.7729 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.4284, allocations: 194.1 kB / 0.7731 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.4291, allocations: 0.752 MB / 0.7739 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.4291, allocations: 42.86 kB / 0.7739 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.4294, allocations: 0.5177 MB / 0.7744 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.4295, allocations: 263 kB / 0.7747 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.4297, allocations: 161.7 kB / 0.7748 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.4297, allocations: 336.4 kB / 0.7751 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.43, allocations: 270.3 kB / 0.7754 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.4304, allocations: 489.6 kB / 0.7759 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/0.4311, allocations: 0.607 MB / 0.7765 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4311, allocations: 0 / 0.7765 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001132/0.4322, allocations: 0.8671 MB / 0.7773 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4323, allocations: 6.219 kB / 0.7773 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.4323, allocations: 1.469 kB / 0.7773 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002911/0.4326, allocations: 82.2 kB / 0.7774 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.4329, allocations: 154.8 kB / 0.7775 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.4339, allocations: 1.518 MB / 0.779 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.4342, allocations: 82.27 kB / 0.7791 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.4343, allocations: 38.94 kB / 0.7791 GB, free: 1.289 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.0002619/0.4346, allocations: 299.8 kB / 0.7794 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4347, allocations: 100.8 kB / 0.7795 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.436, allocations: 1.067 MB / 0.7806 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.436, allocations: 8.625 kB / 0.7806 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.436, allocations: 10.81 kB / 0.7806 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.436, allocations: 4.969 kB / 0.7806 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.4366, allocations: 0.7178 MB / 0.7813 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.4366, allocations: 3.938 kB / 0.7813 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.4369, allocations: 141.6 kB / 0.7814 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001932/0.4371, allocations: 72.39 kB / 0.7815 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.4371, allocations: 23.69 kB / 0.7815 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.4381, allocations: 1.537 MB / 0.783 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4381, allocations: 3.938 kB / 0.783 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.4393, allocations: 0.9469 MB / 0.7839 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.4395, allocations: 215 kB / 0.7841 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.427e-05/0.4396, allocations: 22.67 kB / 0.7842 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.4399, allocations: 64.42 kB / 0.7842 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.44, allocations: 73.73 kB / 0.7843 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.4401, allocations: 35.48 kB / 0.7843 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004247/0.4405, allocations: 0.5249 MB / 0.7848 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4405, allocations: 3.938 kB / 0.7848 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006078/0.4411, allocations: 357.6 kB / 0.7852 GB, free: 13.86 MB / 0.6511 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.001003/0.4421, allocations: 0.6464 MB / 0.7858 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009644/0.4431, allocations: 0.7996 MB / 0.7866 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4431, allocations: 0 / 0.7866 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.4435, allocations: 499.7 kB / 0.7871 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.4444, allocations: 449.8 kB / 0.7875 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.4473, allocations: 2.003 MB / 0.7895 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.4477, allocations: 0.5108 MB / 0.79 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.4479, allocations: 130.2 kB / 0.7901 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of SimCode: time 5.01e-07/0.4479, allocations: 0 / 0.7901 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of Templates: time 0.0167/0.4646, allocations: 22.79 MB / 0.8123 GB, free: 13.69 MB / 0.6667 GB " [Timeout remaining time 660] 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.514391712844372] Failed to read output from testmodel.py, exit status != 0: 0.4701959453523159 0.483361476 0.065711015 Calling exit ...