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.0007225/0.0007225, 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.0008015/0.0008015, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9338/0.9338, allocations: 230.6 MB / 256 MB, free: 9.574 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.7865/0.7865, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0009178/0.0009178, allocations: 70.2 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.488/0.4889, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.001858/0.4907, allocations: 1.606 MB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007616/0.4915, allocations: 0.5634 MB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.4915, allocations: 1.156 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.4916, allocations: 6.375 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.4918, allocations: 41.16 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.492, allocations: 51.12 kB / 0.82 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.4921, allocations: 109.3 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4922, allocations: 12.88 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4923, allocations: 52.67 kB / 0.8202 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.4924, allocations: 53.42 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.4924, allocations: 7 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.491e-05/0.4925, allocations: 14.45 kB / 0.8203 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.4925, allocations: 20.19 kB / 0.8203 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.465e-05/0.4926, allocations: 45.69 kB / 0.8203 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.4927, allocations: 104.3 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4927, allocations: 0.6094 kB / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4927, allocations: 0 / 0.8204 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.4927, allocations: 0 / 0.8204 GB, free: 15.31 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.0005218/0.4933, allocations: 331.5 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4933, allocations: 10.59 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.4933, allocations: 43.03 kB / 0.8208 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.4934, allocations: 15.39 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.4935, allocations: 131.1 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4936, allocations: 8.25 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.4936, allocations: 7.891 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.4937, allocations: 89.62 kB / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.4937, allocations: 0 / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4937, allocations: 3.938 kB / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4937, allocations: 0 / 0.821 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.4938, allocations: 52.36 kB / 0.8211 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.4942, allocations: 299.2 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.4944, allocations: 106.9 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.251e-05/0.4944, allocations: 42.86 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.4944, allocations: 0.7969 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.4946, allocations: 95.22 kB / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.4946, allocations: 0 / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002476/0.4949, allocations: 155.4 kB / 0.8217 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.4949, allocations: 55.22 kB / 0.8218 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.495, allocations: 128.1 kB / 0.8219 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.495, allocations: 29.7 kB / 0.822 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.495, allocations: 94.16 kB / 0.822 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.4951, allocations: 34.5 kB / 0.8221 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.4951, allocations: 30.2 kB / 0.8221 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.4952, allocations: 318.7 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.4952, allocations: 26.09 kB / 0.8224 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.4953, allocations: 31.84 kB / 0.8225 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.973e-05/0.4953, allocations: 63.03 kB / 0.8225 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4954, allocations: 3.938 kB / 0.8225 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001319/0.4955, allocations: 111.1 kB / 0.8226 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4955, allocations: 8.75 kB / 0.8226 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4955, allocations: 5.219 kB / 0.8226 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4955, allocations: 4.375 kB / 0.8226 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.944e-05/0.4956, allocations: 20.47 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4956, allocations: 3.938 kB / 0.8227 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.4956, allocations: 12.95 kB / 0.8227 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.4957, allocations: 1.469 kB / 0.8227 GB, free: 13.44 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 6.874e-05/0.4957, allocations: 123.6 kB / 0.8228 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.4957, allocations: 10.78 kB / 0.8228 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.4959, allocations: 142.1 kB / 0.823 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4959, allocations: 2.25 kB / 0.823 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4959, allocations: 0 / 0.823 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4959, allocations: 7.719 kB / 0.823 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.4961, allocations: 172.5 kB / 0.8231 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4961, allocations: 0 / 0.8231 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.588e-05/0.4961, allocations: 23.36 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4961, allocations: 1.344 kB / 0.8231 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4961, allocations: 2.875 kB / 0.8232 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4961, allocations: 0 / 0.8232 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4961, allocations: 4 kB / 0.8232 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.4963, allocations: 167.6 kB / 0.8233 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.4963, allocations: 13.34 kB / 0.8233 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.4963, allocations: 5.062 kB / 0.8233 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.4964, allocations: 8.094 kB / 0.8233 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.4964, allocations: 17.62 kB / 0.8234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.4964, allocations: 5.109 kB / 0.8234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.653e-05/0.4965, allocations: 99.69 kB / 0.8235 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4965, allocations: 3.938 kB / 0.8235 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001416/0.4966, allocations: 28.06 kB / 0.8235 GB, free: 12.82 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.0003495/0.497, allocations: 0.6973 MB / 0.8242 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001522/0.4971, allocations: 78.61 kB / 0.8242 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4971, allocations: 0 / 0.8242 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.295e-05/0.4972, allocations: 48.81 kB / 0.8243 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.4973, allocations: 10.22 kB / 0.8243 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.4984, allocations: 1.458 MB / 0.8257 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.542e-05/0.4984, allocations: 88.03 kB / 0.8258 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.679e-05/0.4985, allocations: 13.3 kB / 0.8258 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4986, allocations: 32.86 kB / 0.8259 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.4986, allocations: 0.9688 kB / 0.8259 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.518, allocations: 2.84 MB / 0.8286 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.451/6.969, allocations: 6.031 kB / 0.8286 GB, free: 9.863 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 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: 9.844748358242214] Failed to read output from testmodel.py, exit status != 0: 7.046189011074603 7.058033915 6.562678751 Calling exit ...