Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001208/0.001208, 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.0008794/0.0008794, allocations: 217.7 kB / 22.26 MB, free: 3.707 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.9636/0.9636, allocations: 230.6 MB / 256 MB, free: 9.797 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.781/0.781, 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.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001336/0.001336, allocations: 71.02 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4882/0.4895, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001898/0.4914, allocations: 1.517 MB / 0.8194 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006589/0.4921, allocations: 0.5103 MB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.4921, allocations: 0 / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.712e-05/0.4921, allocations: 8.5 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.4924, allocations: 24.42 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.962e-05/0.4924, allocations: 14.03 kB / 0.8199 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.555e-05/0.4925, allocations: 51.48 kB / 0.8199 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.896e-05/0.4926, allocations: 9.312 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.4928, allocations: 28.58 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.854e-05/0.4929, allocations: 22.62 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.4929, allocations: 6.188 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-06/0.4929, allocations: 3.75 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.4929, allocations: 21.83 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.4929, allocations: 17.31 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.4931, allocations: 42.58 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4931, allocations: 0 / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4931, allocations: 3.938 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4931, allocations: 0 / 0.8201 GB, free: 15.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005677/0.4936, allocations: 287.4 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4937, allocations: 8.531 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.4937, allocations: 34.81 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.4937, allocations: 4.594 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/0.4938, allocations: 114.9 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4938, allocations: 2.844 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.4938, allocations: 2.5 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.725e-05/0.4939, allocations: 57.08 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.494, allocations: 4 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.494, allocations: 0.6562 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.494, allocations: 3.531 kB / 0.8206 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.345e-05/0.494, allocations: 18.31 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.4943, allocations: 244.7 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.319e-05/0.4944, allocations: 44.41 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.4944, allocations: 21.08 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.4944, allocations: 5.375 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000161/0.4946, allocations: 63.41 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.4946, allocations: 0 / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001706/0.4948, allocations: 77.55 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.4948, allocations: 57.88 kB / 0.8211 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.4949, allocations: 111.3 kB / 0.8212 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.4949, allocations: 27.45 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.4949, allocations: 91.16 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.4949, allocations: 19.67 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.495, allocations: 18.23 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/0.4951, allocations: 322.4 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.4951, allocations: 13.8 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.4951, allocations: 9.891 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.4951, allocations: 31.64 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4951, allocations: 1.312 kB / 0.8217 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.986e-05/0.4952, allocations: 71.16 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4952, allocations: 6.328 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4953, allocations: 1.656 kB / 0.8218 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.4953, allocations: 3.938 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.4953, allocations: 11.78 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4953, allocations: 3.25 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.4954, allocations: 5.406 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4954, allocations: 3.25 kB / 0.8218 GB, free: 14.07 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: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.98e-05/0.4954, allocations: 111.7 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.4954, allocations: 15.28 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.4955, allocations: 6.281 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4955, allocations: 1.188 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4955, allocations: 0 / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4955, allocations: 0.7031 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.4956, allocations: 147.9 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4956, allocations: 2.047 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.4956, allocations: 4.984 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4956, allocations: 0 / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4956, allocations: 1.719 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4956, allocations: 4 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4956, allocations: 4.547 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.653e-05/0.4957, allocations: 96.97 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.4957, allocations: 6.859 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.4957, allocations: 4.609 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.333e-05/0.4958, allocations: 5.141 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.4958, allocations: 4.141 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.4958, allocations: 3.75 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.4958, allocations: 90.34 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4958, allocations: 3.781 kB / 0.8223 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001225/0.496, allocations: 6.812 kB / 0.8223 GB, free: 13.59 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: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002742/0.4962, allocations: 0.6344 MB / 0.8229 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.612e-05/0.4963, allocations: 31.69 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.4963, allocations: 0 / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.4964, allocations: 21.3 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001107/0.4965, allocations: 2.031 kB / 0.823 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.4973, allocations: 1.227 MB / 0.8242 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.4975, allocations: 0.6837 MB / 0.8249 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.4975, allocations: 0.7031 kB / 0.8249 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.4976, allocations: 20.39 kB / 0.8249 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of SimCode: time 3.91e-07/0.4976, allocations: 0 / 0.8249 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.5133, allocations: 1.649 MB / 0.8265 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/7.379, allocations: 1.812 kB / 0.8265 GB, free: 10.67 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.391183489002287] Failed to read output from testmodel.py, exit status != 0: 7.457796198083088 7.468672213 6.973469436 Calling exit ...