Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.0008052/0.0008052, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008029/0.0008029, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9048/0.9048, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7036/0.7036, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.009e-05, allocations: 5.453 kB / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001814/0.001835, allocations: 1.465 MB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.002523, allocations: 0.5336 MB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.002563, allocations: 0 / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.00259, allocations: 3.938 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.002797, allocations: 31.72 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.002946, allocations: 31.84 kB / 0.6201 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.391e-05/0.00302, allocations: 47.84 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.003109, allocations: 11.98 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.003247, allocations: 35.91 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.003315, allocations: 23.97 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.003331, allocations: 4 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.37e-05/0.003374, allocations: 15.88 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.003391, allocations: 11.97 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.003425, allocations: 15.98 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.00355, allocations: 55.8 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.003553, allocations: 0 / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.174e-06/0.003555, allocations: 0 / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.00356, allocations: 0 / 0.6204 GB, free: 11.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004552/0.004015, allocations: 286.2 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.004055, allocations: 8.031 kB / 0.6206 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.004087, allocations: 38.75 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.004198, allocations: 8.922 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.004298, allocations: 109.8 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.004313, allocations: 4.375 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.004323, allocations: 384 / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.00443, allocations: 54.23 kB / 0.6208 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.004438, allocations: 8.172 kB / 0.6208 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.004449, allocations: 8.062 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004454, allocations: 4 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.665e-05/0.004511, allocations: 23.98 kB / 0.6209 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.004821, allocations: 239.9 kB / 0.6211 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.005027, allocations: 70.53 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.00506, allocations: 20.84 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.005074, allocations: 4 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.00524, allocations: 67.38 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.005241, allocations: 4 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0001957/0.005437, allocations: 89.67 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.005467, allocations: 55.34 kB / 0.6214 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.372e-05/0.00552, allocations: 105.8 kB / 0.6215 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.005533, allocations: 33.64 kB / 0.6215 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.005568, allocations: 88.09 kB / 0.6216 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.005591, allocations: 11.91 kB / 0.6216 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.005621, allocations: 25.7 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.991e-05/0.005691, allocations: 310.8 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.005717, allocations: 19.92 kB / 0.622 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.005739, allocations: 20 kB / 0.622 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.005792, allocations: 36.84 kB / 0.622 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.005795, allocations: 3.938 kB / 0.622 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.77e-05/0.005883, allocations: 81.64 kB / 0.6221 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.005896, allocations: 4 kB / 0.6221 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.0059, allocations: 0 / 0.6221 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.005912, allocations: 0 / 0.6221 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.295e-05/0.005964, allocations: 11.98 kB / 0.6221 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.005969, allocations: 0 / 0.6221 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.00601, allocations: 4 kB / 0.6221 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.006017, allocations: 0 / 0.6221 GB, free: 9.195 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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.104e-05/0.006078, allocations: 126.8 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.006085, allocations: 4 kB / 0.6223 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.00624, allocations: 109.7 kB / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006242, allocations: 256 / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.006246, allocations: 0 / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.00625, allocations: 4 kB / 0.6224 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/0.006343, allocations: 144.6 kB / 0.6225 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006344, allocations: 0 / 0.6225 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.006378, allocations: 15.98 kB / 0.6225 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.00638, allocations: 0 / 0.6225 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.006388, allocations: 8 kB / 0.6225 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006389, allocations: 0 / 0.6225 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.00639, allocations: 3.938 kB / 0.6225 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.006498, allocations: 113 kB / 0.6226 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.006514, allocations: 11.95 kB / 0.6226 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.006527, allocations: 3.938 kB / 0.6227 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.006561, allocations: 8.172 kB / 0.6227 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-05/0.006591, allocations: 3.984 kB / 0.6227 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.006602, allocations: 11.94 kB / 0.6227 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.006633, allocations: 83.22 kB / 0.6228 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006633, allocations: 4 kB / 0.6228 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001398/0.006773, allocations: 16 kB / 0.6228 GB, free: 8.461 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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0003368/0.007109, allocations: 0.6553 MB / 0.6234 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001126/0.007222, allocations: 43.92 kB / 0.6235 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.007224, allocations: 0 / 0.6235 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.007268, allocations: 31.98 kB / 0.6235 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.007392, allocations: 3.922 kB / 0.6235 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008909/0.008283, allocations: 1.236 MB / 0.6247 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.382e-05/0.008336, allocations: 75.34 kB / 0.6248 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.512e-05/0.008371, allocations: 8.078 kB / 0.6248 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.008433, allocations: 20.48 kB / 0.6248 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of SimCode: time 6.71e-07/0.008434, allocations: 4 kB / 0.6248 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.02476, allocations: 2.295 MB / 0.627 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.755/6.78, allocations: 5.984 kB / 0.627 GB, free: 4.129 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.386143733747303] Failed to read output from testmodel.py, exit status != 0: 6.859958575107157 6.867303066 6.862098421 Calling exit ...