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.001044/0.001044, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.001458/0.001458, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.9254/0.9254, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.738/0.738, allocations: 154.6 MB / 413.7 MB, free: 0.8516 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 3.056e-06/3.056e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.255e-05, allocations: 7.031 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002944/0.002977, allocations: 1.497 MB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.004104, allocations: 478.7 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.004173, allocations: 0 / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.004212, allocations: 7.922 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000291/0.004503, allocations: 27.78 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.595e-05/0.004599, allocations: 15.92 kB / 0.62 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.004708, allocations: 59.72 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.004808, allocations: 4 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.005013, allocations: 31.97 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.005096, allocations: 27.91 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.005114, allocations: 4 kB / 0.6202 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.005127, allocations: 4 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.114e-05/0.005148, allocations: 7.984 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.005192, allocations: 19.92 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.005295, allocations: 39.88 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005298, allocations: 0 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.413e-06/0.005299, allocations: 0 / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.005304, allocations: 0 / 0.6202 GB, free: 11.49 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.0005032/0.005807, allocations: 278.2 kB / 0.6205 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.005851, allocations: 17.47 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.005887, allocations: 30.75 kB / 0.6205 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.005919, allocations: 12.89 kB / 0.6205 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.006032, allocations: 117.7 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.006047, allocations: 384 / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.006059, allocations: 4.375 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.006181, allocations: 50.19 kB / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.00619, allocations: 192 / 0.6207 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.006201, allocations: 8.125 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.006206, allocations: 0 / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.237e-05/0.006268, allocations: 19.98 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.006605, allocations: 239.9 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.006711, allocations: 46.5 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.006753, allocations: 20.94 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.006763, allocations: 0 / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.006922, allocations: 63.39 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 2.475e-06/0.006925, allocations: 3.984 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.0002176/0.007142, allocations: 85.61 kB / 0.6212 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.007179, allocations: 51.41 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/0.007256, allocations: 113.8 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.00727, allocations: 29.7 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.00731, allocations: 96.03 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.007332, allocations: 11.89 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.007371, allocations: 21.7 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.325e-05/0.007464, allocations: 318.8 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.126e-05/0.007495, allocations: 8 kB / 0.6218 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.007521, allocations: 15.98 kB / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.082e-05/0.007582, allocations: 32.8 kB / 0.6218 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.007584, allocations: 3.938 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.883e-05/0.007683, allocations: 62.06 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.007696, allocations: 4 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.007702, allocations: 8.062 kB / 0.6219 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.007715, allocations: 4 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.007788, allocations: 4 kB / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.007792, allocations: 0 / 0.6219 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.579e-05/0.007848, allocations: 11.98 kB / 0.6219 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.007856, allocations: 0 / 0.6219 GB, free: 9.535 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 0.0002185/0.008075, allocations: 118.7 kB / 0.622 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.527e-05/0.00809, allocations: 7.953 kB / 0.6221 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.008112, allocations: 8.125 kB / 0.6221 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.008113, allocations: 4 kB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.008119, allocations: 7.922 kB / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008122, allocations: 0 / 0.6221 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.008231, allocations: 140.7 kB / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008233, allocations: 0 / 0.6222 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.044e-05/0.008263, allocations: 4 kB / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008266, allocations: 0 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.008273, allocations: 0 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.008275, allocations: 0 / 0.6222 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008276, allocations: 4 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.008411, allocations: 101 kB / 0.6223 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.008426, allocations: 8 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.008441, allocations: 3.938 kB / 0.6223 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.275e-05/0.008494, allocations: 7.984 kB / 0.6223 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.008527, allocations: 3.938 kB / 0.6223 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.008539, allocations: 4 kB / 0.6223 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.008583, allocations: 87.58 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.008583, allocations: 0 / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002156/0.008799, allocations: 19.94 kB / 0.6224 GB, free: 8.941 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.0003636/0.009162, allocations: 0.632 MB / 0.6231 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.009273, allocations: 39.92 kB / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009275, allocations: 0 / 0.6231 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.009317, allocations: 16 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.009472, allocations: 4 kB / 0.6231 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.01052, allocations: 1.229 MB / 0.6243 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.589e-05/0.01057, allocations: 67.33 kB / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.0106, allocations: 0 / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.01064, allocations: 16.5 kB / 0.6244 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.01064, allocations: 4 kB / 0.6244 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.02856, allocations: 2.182 MB / 0.6265 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.094, allocations: 7.25 kB / 0.6265 GB, free: 4.816 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_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.96722673997283] Failed to read output from testmodel.py, exit status != 0: 7.17455224879086 7.185866255 7.178000118 Calling exit ...