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.0008184/0.0008184, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008578/0.0008578, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9182/0.9182, allocations: 230.6 MB / 256 MB, free: 9.609 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.7802/0.7802, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.001173/0.001173, allocations: 62.5 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4885, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001966/0.4905, allocations: 1.609 MB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007967/0.4913, allocations: 0.5574 MB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.48e-05/0.4914, allocations: 1.344 kB / 0.8199 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.03e-05/0.4914, allocations: 9.344 kB / 0.8199 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.4917, allocations: 41.72 kB / 0.82 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.4919, allocations: 52.95 kB / 0.82 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.492, allocations: 102.8 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4921, allocations: 15.98 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.4923, allocations: 50.5 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.4924, allocations: 52.95 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.4924, allocations: 7.938 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.4925, allocations: 17.98 kB / 0.8203 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.4925, allocations: 24.88 kB / 0.8203 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.4926, allocations: 38 kB / 0.8203 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.4927, allocations: 108.6 kB / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4927, allocations: 0 / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.355e-06/0.4927, allocations: 0 / 0.8204 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4927, allocations: 0 / 0.8204 GB, free: 15.33 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.0005926/0.4933, allocations: 335.8 kB / 0.8207 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4934, allocations: 9.312 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.716e-05/0.4934, allocations: 40.03 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.4935, allocations: 15.45 kB / 0.8208 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.4936, allocations: 124.3 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4937, allocations: 6.906 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.4937, allocations: 10.66 kB / 0.8209 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.4938, allocations: 88.09 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4938, allocations: 4 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4939, allocations: 0.6562 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.4939, allocations: 1.781 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.651e-05/0.494, allocations: 48.98 kB / 0.8211 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.4944, allocations: 297.5 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.4946, allocations: 105.8 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.4947, allocations: 44.09 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.4947, allocations: 1.781 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.4949, allocations: 98.55 kB / 0.8216 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.4949, allocations: 4 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002863/0.4952, allocations: 150.2 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.4952, allocations: 53.94 kB / 0.8218 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.522e-05/0.4953, allocations: 129.6 kB / 0.8219 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003151/0.4956, allocations: 29.7 kB / 0.8219 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.4957, allocations: 93 kB / 0.822 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.4957, allocations: 36.08 kB / 0.8221 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.4957, allocations: 29.52 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.4958, allocations: 320.6 kB / 0.8224 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/0.4959, allocations: 25.78 kB / 0.8224 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.4959, allocations: 33.95 kB / 0.8225 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.017e-05/0.496, allocations: 67.86 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.496, allocations: 0 / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001523/0.4962, allocations: 114.4 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4962, allocations: 4.719 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4962, allocations: 0.6562 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4962, allocations: 1.094 kB / 0.8226 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.477e-05/0.4963, allocations: 17.91 kB / 0.8227 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4963, allocations: 1.375 kB / 0.8227 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.4964, allocations: 11.06 kB / 0.8227 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4964, allocations: 7.688 kB / 0.8227 GB, free: 13.47 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 8.573e-05/0.4965, allocations: 124.7 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.4965, allocations: 11.22 kB / 0.8228 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.4967, allocations: 139.8 kB / 0.8229 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4967, allocations: 9.781 kB / 0.823 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4967, allocations: 0 / 0.823 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4967, allocations: 3.938 kB / 0.823 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.4969, allocations: 178.8 kB / 0.8231 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4969, allocations: 1.281 kB / 0.8231 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.4969, allocations: 20.81 kB / 0.8231 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4969, allocations: 0 / 0.8231 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.4969, allocations: 4.266 kB / 0.8232 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4969, allocations: 0 / 0.8232 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4969, allocations: 5.188 kB / 0.8232 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.4971, allocations: 171.9 kB / 0.8233 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.4971, allocations: 7.078 kB / 0.8233 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.4972, allocations: 1.375 kB / 0.8233 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.4972, allocations: 14.95 kB / 0.8233 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.4973, allocations: 14.98 kB / 0.8234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.4973, allocations: 5.531 kB / 0.8234 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.288e-05/0.4973, allocations: 102.6 kB / 0.8235 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4973, allocations: 0 / 0.8235 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000146/0.4975, allocations: 27.69 kB / 0.8235 GB, free: 12.84 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.0003862/0.4979, allocations: 0.6971 MB / 0.8242 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.498, allocations: 78.97 kB / 0.8242 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.498, allocations: 1.156 kB / 0.8242 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.4981, allocations: 46.39 kB / 0.8243 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.4982, allocations: 13.12 kB / 0.8243 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.4994, allocations: 1.457 MB / 0.8257 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.587e-05/0.4994, allocations: 85.14 kB / 0.8258 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.4995, allocations: 9.875 kB / 0.8258 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.4995, allocations: 36.48 kB / 0.8258 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.4995, allocations: 1.125 kB / 0.8258 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.5153, allocations: 2.844 MB / 0.8286 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/7.36, allocations: 2.406 kB / 0.8286 GB, free: 9.887 MB / 0.6198 GB " [Timeout remaining time 653] (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.246091749984771] Failed to read output from testmodel.py, exit status != 0: 7.436860155314207 7.447900863 6.952916417 Calling exit ...