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.0008156/0.0008156, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001018/0.001018, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.8569/0.8569, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.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.7318/0.7318, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.33e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001689/0.001702, allocations: 1.495 MB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005769/0.002279, allocations: 474.7 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.139e-05/0.002321, allocations: 4 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.562e-05/0.002346, allocations: 3.938 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.002555, allocations: 31.78 kB / 0.62 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.697e-05/0.002632, allocations: 15.92 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.49e-05/0.002707, allocations: 59.7 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.2e-05/0.002789, allocations: 8 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.002946, allocations: 35.91 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.386e-05/0.003009, allocations: 19.97 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.003023, allocations: 0 / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.003031, allocations: 4 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.906e-05/0.00305, allocations: 15.92 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.00308, allocations: 12 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.5e-05/0.003165, allocations: 47.8 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003167, allocations: 4 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003167, allocations: 0 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003171, allocations: 0 / 0.6202 GB, free: 11.43 MB / 0.5886 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.0004018/0.003573, allocations: 274.3 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.003606, allocations: 13.47 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.595e-05/0.003632, allocations: 30.75 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.003655, allocations: 4.891 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.457e-05/0.003739, allocations: 121.7 kB / 0.6207 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.003751, allocations: 4.375 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.003761, allocations: 8.359 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.003849, allocations: 46.25 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.003857, allocations: 192 / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.003866, allocations: 4.125 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003872, allocations: 4 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.003919, allocations: 15.98 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.004209, allocations: 236 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.595e-05/0.004295, allocations: 46.5 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.004334, allocations: 20.94 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-06/0.004342, allocations: 4 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.004479, allocations: 67.33 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.00448, allocations: 0 / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0001832/0.004663, allocations: 81.62 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.004696, allocations: 55.39 kB / 0.6212 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.601e-05/0.004762, allocations: 109.9 kB / 0.6213 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.004773, allocations: 25.7 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.004812, allocations: 96.06 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.004835, allocations: 15.84 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.004865, allocations: 17.72 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.004943, allocations: 322.8 kB / 0.6218 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.004968, allocations: 8 kB / 0.6218 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.005143, allocations: 19.98 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.00519, allocations: 29.23 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.005193, allocations: 7.875 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.052e-05/0.005274, allocations: 69.62 kB / 0.6219 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.005286, allocations: 6.188 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00529, allocations: 0 / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.005303, allocations: 0 / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.475e-05/0.005367, allocations: 11.98 kB / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.005371, allocations: 0 / 0.6219 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/0.005409, allocations: 11.98 kB / 0.6219 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.005415, allocations: 0 / 0.6219 GB, free: 9.488 MB / 0.5886 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.042e-05/0.005476, allocations: 118.8 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.005485, allocations: 7.953 kB / 0.6221 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.886e-05/0.005504, allocations: 8.125 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.005506, allocations: 0 / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.00551, allocations: 0 / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005513, allocations: 3.938 kB / 0.6221 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.178e-05/0.005595, allocations: 140.7 kB / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.005595, allocations: 0 / 0.6222 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.51e-05/0.00561, allocations: 12 kB / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.005611, allocations: 0 / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.005617, allocations: 0 / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005618, allocations: 0 / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005619, allocations: 0 / 0.6222 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.17e-05/0.005711, allocations: 101 kB / 0.6223 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-06/0.00572, allocations: 4 kB / 0.6223 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.005733, allocations: 4 kB / 0.6223 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.005762, allocations: 4.125 kB / 0.6223 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.00579, allocations: 7.984 kB / 0.6223 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.005798, allocations: 4 kB / 0.6223 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.493e-05/0.005833, allocations: 95.56 kB / 0.6224 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005833, allocations: 7.875 kB / 0.6224 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001266/0.00596, allocations: 16 kB / 0.6225 GB, free: 8.891 MB / 0.5886 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.0002419/0.006202, allocations: 0.628 MB / 0.6231 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.949e-05/0.006291, allocations: 35.92 kB / 0.6231 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006293, allocations: 0 / 0.6231 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.006322, allocations: 16 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001074/0.006429, allocations: 0 / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.007189, allocations: 1.232 MB / 0.6243 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.557e-05/0.007225, allocations: 67.34 kB / 0.6244 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.183e-05/0.007246, allocations: 3.984 kB / 0.6244 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.007282, allocations: 16.5 kB / 0.6244 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.007282, allocations: 0 / 0.6244 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.02084, allocations: 2.183 MB / 0.6265 GB, free: 4.773 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/6.982, allocations: 11.11 kB / 0.6265 GB, free: 4.77 MB / 0.5886 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.531227804720402] Failed to read output from testmodel.py, exit status != 0: 7.0624437388032675 7.071381368 7.066541108 Calling exit ...