Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.0008206/0.0008206, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009436/0.0009436, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 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.9685/0.9685, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] 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-531:190: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-531:198: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 0.7997/0.7997, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.000923/0.000923, allocations: 64.34 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.535, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002168/0.5372, allocations: 1.654 MB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.5381, allocations: 0.6109 MB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.5381, allocations: 0 / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.5382, allocations: 10.03 kB / 0.8201 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.5384, allocations: 37.86 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001497/0.5386, allocations: 48.34 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.5387, allocations: 114.9 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.5388, allocations: 11.73 kB / 0.8203 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.539, allocations: 55.3 kB / 0.8203 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.5392, allocations: 53.02 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.5392, allocations: 7.719 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.937e-05/0.5392, allocations: 17.09 kB / 0.8204 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.5393, allocations: 22.11 kB / 0.8204 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.5393, allocations: 43.69 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.5395, allocations: 106.5 kB / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5395, allocations: 4 kB / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5395, allocations: 0 / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.5395, allocations: 0 / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005893/0.5401, allocations: 336.2 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5402, allocations: 9.375 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.5402, allocations: 39.64 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.5403, allocations: 20.45 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.5405, allocations: 129 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.5405, allocations: 4.312 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5405, allocations: 12.55 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.5407, allocations: 82.67 kB / 0.8212 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.5407, allocations: 3.938 kB / 0.8212 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5407, allocations: 3.281 kB / 0.8212 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.5407, allocations: 0 / 0.8212 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.5408, allocations: 48.92 kB / 0.8212 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.5412, allocations: 309.6 kB / 0.8215 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.5415, allocations: 107 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.263e-05/0.5416, allocations: 38.42 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5416, allocations: 3.25 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002039/0.5418, allocations: 105 kB / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.074e-06/0.5418, allocations: 0 / 0.8218 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002841/0.5421, allocations: 145.2 kB / 0.8219 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.5421, allocations: 53.22 kB / 0.822 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5422, allocations: 129.2 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5422, allocations: 33.27 kB / 0.8221 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.5423, allocations: 94.38 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.5423, allocations: 36.5 kB / 0.8222 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.5424, allocations: 32.91 kB / 0.8223 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.5425, allocations: 318.3 kB / 0.8226 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.74e-05/0.5425, allocations: 26.61 kB / 0.8226 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.5426, allocations: 35.41 kB / 0.8226 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.202e-05/0.5427, allocations: 68.64 kB / 0.8227 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.5427, allocations: 0 / 0.8227 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001397/0.5428, allocations: 112.9 kB / 0.8228 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.5428, allocations: 6.75 kB / 0.8228 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5428, allocations: 4 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.5428, allocations: 0.75 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.5429, allocations: 25.67 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5429, allocations: 0 / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.891e-05/0.543, allocations: 13.72 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.543, allocations: 0.7031 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.9e-05/0.5431, allocations: 120.2 kB / 0.823 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.5431, allocations: 8.984 kB / 0.823 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.5433, allocations: 146.7 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.5433, allocations: 2.25 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.5433, allocations: 6.078 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5433, allocations: 4.5 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.5435, allocations: 187.5 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5435, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.5435, allocations: 15.33 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5435, allocations: 3.5 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.5435, allocations: 5.359 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5435, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5435, allocations: 8.688 kB / 0.8234 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.5437, allocations: 168 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.5437, allocations: 9.828 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.5437, allocations: 6.312 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.5438, allocations: 7.203 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.5438, allocations: 17.53 kB / 0.8236 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.5438, allocations: 10.7 kB / 0.8236 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.5439, allocations: 97.64 kB / 0.8237 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5439, allocations: 0 / 0.8237 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001414/0.544, allocations: 23.22 kB / 0.8237 GB, free: 12.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003813/0.5444, allocations: 0.6941 MB / 0.8244 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.5446, allocations: 80.17 kB / 0.8244 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5446, allocations: 4 kB / 0.8244 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.5446, allocations: 42.89 kB / 0.8245 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.5448, allocations: 17.42 kB / 0.8245 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.5461, allocations: 1.457 MB / 0.8259 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.5463, allocations: 0.696 MB / 0.8266 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.5463, allocations: 14.3 kB / 0.8266 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.5464, allocations: 30.61 kB / 0.8266 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of SimCode: time 8.31e-07/0.5464, allocations: 192 / 0.8266 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.5695, allocations: 2.467 MB / 0.829 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.515, allocations: 11.86 kB / 0.8291 GB, free: 9.789 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.537167515140027] Failed to read output from testmodel.py, exit status != 0: 7.591246391879395 7.603121023 7.061408379 Calling exit ...