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.001391/0.001391, 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.00113/0.00113, allocations: 221.8 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 1.009/1.009, allocations: 230.6 MB / 256 MB, free: 9.805 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.7819/0.7819, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.0009248/0.0009248, allocations: 66.89 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5148/0.5157, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001878/0.5176, allocations: 1.513 MB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.5182, allocations: 0.5087 MB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.821e-05/0.5183, allocations: 1.344 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.5183, allocations: 4.734 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.5186, allocations: 36.72 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 9.011e-05/0.5187, allocations: 15.25 kB / 0.8199 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.5188, allocations: 47.33 kB / 0.82 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.5189, allocations: 11.69 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001939/0.5191, allocations: 34.36 kB / 0.82 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.5192, allocations: 24.34 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.5192, allocations: 3.5 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.5192, allocations: 3.219 kB / 0.82 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.5192, allocations: 12.61 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.5193, allocations: 16.41 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.5194, allocations: 45.06 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5194, allocations: 1.828 kB / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5194, allocations: 0 / 0.8201 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5194, allocations: 4 kB / 0.8201 GB, free: 15.72 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.0005106/0.5199, allocations: 282 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.52, allocations: 10.34 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.52, allocations: 31.5 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.52, allocations: 4.328 kB / 0.8204 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.5201, allocations: 123.2 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.5202, allocations: 4.375 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.5202, allocations: 3.562 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.5203, allocations: 58.66 kB / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5203, allocations: 0 / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.5203, allocations: 0 / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5203, allocations: 0 / 0.8206 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.57e-05/0.5203, allocations: 17.12 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.5206, allocations: 243.2 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.5207, allocations: 39 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.5208, allocations: 29.05 kB / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.5208, allocations: 0 / 0.8209 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.5209, allocations: 63.61 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.5209, allocations: 0 / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001823/0.5211, allocations: 82.22 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.5211, allocations: 56.72 kB / 0.8211 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.901e-05/0.5212, allocations: 110.2 kB / 0.8212 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.5212, allocations: 25.7 kB / 0.8212 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.5212, allocations: 89.41 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.5213, allocations: 22.94 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.5213, allocations: 19.95 kB / 0.8214 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003292/0.5216, allocations: 321.8 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.5216, allocations: 12.42 kB / 0.8217 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.5217, allocations: 11.11 kB / 0.8217 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/0.5217, allocations: 37.77 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5217, allocations: 0 / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.854e-05/0.5218, allocations: 65.94 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5218, allocations: 8.688 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5218, allocations: 2.344 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5218, allocations: 0 / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.5219, allocations: 7.422 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.5219, allocations: 6.406 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.055e-05/0.5219, allocations: 7.453 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-06/0.522, allocations: 0.6094 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 6.29e-05/0.522, allocations: 117.9 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.522, allocations: 11.34 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.522, allocations: 8.797 kB / 0.8219 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.522, allocations: 3.938 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5221, allocations: 0 / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5221, allocations: 0.7031 kB / 0.822 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.433e-05/0.5221, allocations: 142.1 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.5222, allocations: 0.6094 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.5222, allocations: 4.969 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5222, allocations: 2.156 kB / 0.8221 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.5222, allocations: 4.797 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.5222, allocations: 4 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5222, allocations: 0.6094 kB / 0.8221 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.5223, allocations: 92.36 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.5223, allocations: 11.22 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.5223, allocations: 4.516 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.5224, allocations: 4.625 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.5224, allocations: 4.531 kB / 0.8222 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.5224, allocations: 5.859 kB / 0.8222 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.772e-05/0.5224, allocations: 93.09 kB / 0.8223 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5224, allocations: 0 / 0.8223 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001306/0.5226, allocations: 8.719 kB / 0.8223 GB, free: 13.58 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.0002832/0.5228, allocations: 0.629 MB / 0.8229 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.523, allocations: 44.22 kB / 0.823 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.523, allocations: 0 / 0.823 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.523, allocations: 17.48 kB / 0.823 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001161/0.5231, allocations: 8.031 kB / 0.823 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000848/0.5239, allocations: 1.225 MB / 0.8242 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.5241, allocations: 0.6852 MB / 0.8249 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.5241, allocations: 3.297 kB / 0.8249 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.5242, allocations: 15.45 kB / 0.8249 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of SimCode: time 7.92e-07/0.5242, allocations: 4 kB / 0.8249 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01483/0.539, allocations: 1.63 MB / 0.8265 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.499/7.039, allocations: 7.953 kB / 0.8265 GB, free: 10.66 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 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.041467993054539] Failed to read output from testmodel.py, exit status != 0: 7.11649808101356 7.127833837 6.606396689 Calling exit ...