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.001388/0.001388, 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.00157/0.00157, 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.9196/0.9196, allocations: 177.1 MB / 202.8 MB, free: 5.539 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.7573/0.7573, allocations: 154.6 MB / 413.8 MB, free: 0.7539 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.613e-06/1.613e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.15e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001989/0.00201, allocations: 1.477 MB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009524/0.002963, allocations: 0.5336 MB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.003019, allocations: 0 / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.003056, allocations: 3.938 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.003311, allocations: 23.84 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.003502, allocations: 31.84 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.003614, allocations: 55.78 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.003708, allocations: 4 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.003892, allocations: 35.95 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.451e-05/0.003977, allocations: 23.91 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.003996, allocations: 4 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.408e-05/0.00405, allocations: 15.94 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.004072, allocations: 11.98 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.004112, allocations: 15.92 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.004254, allocations: 55.8 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.004257, allocations: 0 / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004258, allocations: 0 / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.004264, allocations: 3.984 kB / 0.6204 GB, free: 11.32 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.0005767/0.004841, allocations: 278.3 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.004886, allocations: 8.031 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.00493, allocations: 38.73 kB / 0.6207 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.005069, allocations: 8.938 kB / 0.6207 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.005185, allocations: 117.7 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.005201, allocations: 384 / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.005216, allocations: 8.375 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.005339, allocations: 58.23 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.005348, allocations: 4.125 kB / 0.6209 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.00536, allocations: 4.125 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005364, allocations: 0 / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.724e-05/0.005442, allocations: 27.92 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.005807, allocations: 236 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.006022, allocations: 62.61 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.006064, allocations: 20.86 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.006081, allocations: 3.938 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.006239, allocations: 75.38 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.00624, allocations: 0 / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002368/0.006477, allocations: 93.62 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.006515, allocations: 51.41 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.006598, allocations: 109.8 kB / 0.6215 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.006613, allocations: 29.64 kB / 0.6215 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.00666, allocations: 80.14 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.006692, allocations: 19.89 kB / 0.6216 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.006731, allocations: 17.72 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.006837, allocations: 318.8 kB / 0.622 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.006876, allocations: 12 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.006909, allocations: 24.23 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.693e-05/0.006986, allocations: 32.86 kB / 0.622 GB, free: 9.422 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.00699, allocations: 7.938 kB / 0.622 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001236/0.007114, allocations: 77.69 kB / 0.6221 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.007131, allocations: 6.031 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.007136, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.007151, allocations: 4 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.007221, allocations: 11.94 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.007227, allocations: 0 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.00728, allocations: 11.92 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.007292, allocations: 8 kB / 0.6221 GB, free: 9.293 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 8.877e-05/0.00738, allocations: 114.8 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.007388, allocations: 0 / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.007546, allocations: 109.7 kB / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007548, allocations: 0 / 0.6224 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.007554, allocations: 4.188 kB / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.007558, allocations: 0 / 0.6224 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.007659, allocations: 152.6 kB / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.00766, allocations: 0 / 0.6225 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.007694, allocations: 12 kB / 0.6225 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.007698, allocations: 8 kB / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.007706, allocations: 0 / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007707, allocations: 0 / 0.6225 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.007709, allocations: 3.984 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.007824, allocations: 125 kB / 0.6226 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.007834, allocations: 3.953 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.00785, allocations: 4 kB / 0.6227 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.007881, allocations: 4 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.00792, allocations: 11.92 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.007931, allocations: 4 kB / 0.6227 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.007968, allocations: 91.27 kB / 0.6228 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007968, allocations: 0 / 0.6228 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001232/0.008091, allocations: 8 kB / 0.6228 GB, free: 8.574 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.0003164/0.008407, allocations: 0.6553 MB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.008563, allocations: 51.91 kB / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.008564, allocations: 0 / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.008606, allocations: 20 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.00874, allocations: 14.5 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00096/0.0097, allocations: 1.228 MB / 0.6247 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.17e-05/0.009752, allocations: 79.33 kB / 0.6248 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.009782, allocations: 4 kB / 0.6248 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.009833, allocations: 24.42 kB / 0.6248 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of SimCode: time 7.32e-07/0.009833, allocations: 0 / 0.6248 GB, free: 6.367 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02579, allocations: 2.302 MB / 0.627 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/6.844, allocations: 8.516 kB / 0.6271 GB, free: 4.234 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.761067371815443] Failed to read output from testmodel.py, exit status != 0: 6.922976993024349 6.935090444 6.929011607 Calling exit ...