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.0008269/0.0008269, 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.001396/0.001396, 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.9347/0.9347, allocations: 230.6 MB / 256 MB, free: 9.594 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.7839/0.7839, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.0009091/0.0009091, allocations: 62.22 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.512, allocations: 102 MB / 0.8178 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001935/0.5139, allocations: 1.49 MB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007131/0.5147, allocations: 478.4 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.5147, allocations: 0 / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.5147, allocations: 1.172 kB / 0.8197 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.5149, allocations: 32.75 kB / 0.8198 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.907e-05/0.515, allocations: 11.91 kB / 0.8198 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.421e-05/0.5151, allocations: 60.95 kB / 0.8198 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.5152, allocations: 10 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.5154, allocations: 26.19 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.5155, allocations: 19.22 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.5155, allocations: 4.438 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.5155, allocations: 2.594 kB / 0.8199 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.5155, allocations: 12.92 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.073e-05/0.5155, allocations: 21.12 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.826e-05/0.5156, allocations: 42.31 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5156, allocations: 0.6562 kB / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5157, allocations: 0 / 0.82 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.5157, allocations: 1.375 kB / 0.82 GB, free: 15.41 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.0004805/0.5161, allocations: 286.4 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.5162, allocations: 11 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.5162, allocations: 31.41 kB / 0.8203 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.5163, allocations: 4.719 kB / 0.8203 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.5164, allocations: 120 kB / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.5164, allocations: 5.688 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.5164, allocations: 3.766 kB / 0.8204 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.5165, allocations: 58.41 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5165, allocations: 0 / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.5165, allocations: 4.797 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5165, allocations: 0 / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.456e-05/0.5166, allocations: 16.19 kB / 0.8205 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.5169, allocations: 233.5 kB / 0.8207 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.479e-05/0.517, allocations: 43.77 kB / 0.8207 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.517, allocations: 20.61 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.517, allocations: 1.094 kB / 0.8208 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.5172, allocations: 68.66 kB / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.5172, allocations: 0 / 0.8208 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001896/0.5174, allocations: 78.39 kB / 0.8209 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.5175, allocations: 61.34 kB / 0.821 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/0.5175, allocations: 116.9 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.5175, allocations: 25.7 kB / 0.8211 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.5176, allocations: 86.38 kB / 0.8212 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.5176, allocations: 15.77 kB / 0.8212 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.5176, allocations: 19.44 kB / 0.8212 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.5177, allocations: 319.7 kB / 0.8215 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.5177, allocations: 16.45 kB / 0.8215 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.5177, allocations: 11.19 kB / 0.8215 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.5178, allocations: 28.08 kB / 0.8216 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5178, allocations: 4.516 kB / 0.8216 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.779e-05/0.5179, allocations: 69.19 kB / 0.8216 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.5179, allocations: 6.797 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5179, allocations: 3.938 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5179, allocations: 0.6094 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.518, allocations: 9.141 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.518, allocations: 4 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.518, allocations: 4.703 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.518, allocations: 0.9219 kB / 0.8217 GB, free: 13.77 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.149e-05/0.5181, allocations: 118.3 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.5181, allocations: 11.02 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.5181, allocations: 11.08 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5181, allocations: 0 / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.5181, allocations: 0.7031 kB / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5181, allocations: 0 / 0.8218 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.589e-05/0.5182, allocations: 146.2 kB / 0.8219 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5182, allocations: 3.984 kB / 0.822 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.5182, allocations: 2.484 kB / 0.822 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.5182, allocations: 0.75 kB / 0.822 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.5183, allocations: 4.5 kB / 0.822 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.5183, allocations: 4.5 kB / 0.822 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.5183, allocations: 4 kB / 0.822 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.5184, allocations: 98.97 kB / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.5184, allocations: 7.219 kB / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.5184, allocations: 1.734 kB / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.5184, allocations: 3.297 kB / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.5185, allocations: 5.656 kB / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.5185, allocations: 1.562 kB / 0.8221 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.5185, allocations: 89.56 kB / 0.8222 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5185, allocations: 0 / 0.8222 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001245/0.5186, allocations: 13.53 kB / 0.8222 GB, free: 13.27 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.0003029/0.5189, allocations: 0.6402 MB / 0.8228 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001169/0.5191, allocations: 35.11 kB / 0.8228 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5191, allocations: 1.719 kB / 0.8228 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.5191, allocations: 18.3 kB / 0.8229 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.5192, allocations: 5.703 kB / 0.8229 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.5201, allocations: 1.234 MB / 0.8241 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.981e-05/0.5201, allocations: 67.22 kB / 0.8241 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.514e-05/0.5201, allocations: 4 kB / 0.8241 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.5202, allocations: 18.25 kB / 0.8242 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5202, allocations: 0 / 0.8242 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.5346, allocations: 2.025 MB / 0.8261 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.41/6.944, allocations: 8.281 kB / 0.8261 GB, free: 10.57 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: 9.795404867269099] Failed to read output from testmodel.py, exit status != 0: 7.021219754125923 7.032858846 6.515324877 Calling exit ...