Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009579/0.0009579, 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.0008603/0.0008603, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9332/0.9332, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7225/0.7225, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.159e-05, allocations: 2.781 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002001/0.002022, allocations: 1.502 MB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006332/0.002655, allocations: 478.7 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.0027, allocations: 4 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.002728, allocations: 7.922 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.002961, allocations: 27.73 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 8.717e-05/0.003048, allocations: 11.98 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.003128, allocations: 55.77 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.003213, allocations: 11.94 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.003377, allocations: 31.97 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.003444, allocations: 27.91 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.003458, allocations: 4 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.496e-06/0.003467, allocations: 4 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.003484, allocations: 7.984 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.003517, allocations: 15.94 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.638e-05/0.003603, allocations: 47.8 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003605, allocations: 0 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003606, allocations: 0 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.00361, allocations: 0 / 0.6203 GB, free: 11.39 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.0004239/0.004034, allocations: 278.2 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.004073, allocations: 16.03 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.004101, allocations: 30.75 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.004127, allocations: 8.891 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.455e-05/0.004211, allocations: 109.8 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.004224, allocations: 4.359 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.004235, allocations: 4.375 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.947e-05/0.004324, allocations: 46.25 kB / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.00433, allocations: 192 / 0.6208 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.004339, allocations: 12.05 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004344, allocations: 4 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.004394, allocations: 23.92 kB / 0.6208 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.004664, allocations: 232 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.135e-05/0.004745, allocations: 46.5 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.492e-05/0.00478, allocations: 20.94 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.004792, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.00493, allocations: 71.27 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.004931, allocations: 0 / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0001694/0.0051, allocations: 81.69 kB / 0.6212 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.005131, allocations: 55.39 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.297e-05/0.005194, allocations: 113.8 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.005205, allocations: 29.7 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.00524, allocations: 100 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.005259, allocations: 7.906 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.005286, allocations: 17.72 kB / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.274e-05/0.005358, allocations: 322.8 kB / 0.6218 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.005381, allocations: 12 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.0054, allocations: 15.98 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.356e-05/0.005443, allocations: 24.86 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.005446, allocations: 7.938 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 6.974e-05/0.005516, allocations: 61.69 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.005527, allocations: 4 kB / 0.622 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.005532, allocations: 4 kB / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.005542, allocations: 0 / 0.622 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.005606, allocations: 11.94 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.00561, allocations: 0 / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.005647, allocations: 7.984 kB / 0.622 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.005655, allocations: 0 / 0.622 GB, free: 9.441 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 7.143e-05/0.005726, allocations: 118.8 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.005736, allocations: 7.953 kB / 0.6221 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.005754, allocations: 8.125 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005756, allocations: 0 / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.00576, allocations: 4 kB / 0.6221 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.005764, allocations: 3.984 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.665e-05/0.00585, allocations: 144.6 kB / 0.6223 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.005851, allocations: 448 / 0.6223 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.005868, allocations: 4 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.005869, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.005877, allocations: 4 kB / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.005877, allocations: 0 / 0.6223 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.005879, allocations: 4 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.146e-05/0.005971, allocations: 100.9 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-06/0.005981, allocations: 4 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.005993, allocations: 8 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.006023, allocations: 3.984 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.006049, allocations: 4 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.006058, allocations: 0 / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.006097, allocations: 91.27 kB / 0.6225 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006097, allocations: 3.938 kB / 0.6225 GB, free: 8.867 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001288/0.006226, allocations: 19.94 kB / 0.6225 GB, free: 8.848 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.0002652/0.006491, allocations: 0.6319 MB / 0.6231 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.873e-05/0.006579, allocations: 31.98 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.006581, allocations: 4 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.84e-05/0.00661, allocations: 16 kB / 0.6232 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.006727, allocations: 2.062 kB / 0.6232 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.007506, allocations: 1.223 MB / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.007545, allocations: 71.33 kB / 0.6244 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.007568, allocations: 0 / 0.6244 GB, free: 6.734 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.007607, allocations: 20.48 kB / 0.6245 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of SimCode: time 4.7e-07/0.007607, allocations: 4 kB / 0.6245 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01604/0.02365, allocations: 2.164 MB / 0.6266 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/6.906, allocations: 16.17 kB / 0.6266 GB, free: 4.711 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.759383976459503] Failed to read output from testmodel.py, exit status != 0: 6.98858548887074 6.998331536 6.992910614 Calling exit ...