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.0009297/0.0009297, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001282/0.001282, allocations: 216 kB / 22.25 MB, free: 3.594 MB / 13.93 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.9488/0.9488, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.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.7854/0.7854, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008817/0.0008817, allocations: 77.56 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4682, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002163/0.4704, allocations: 1.497 MB / 0.8193 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006936/0.4711, allocations: 475.6 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.4711, allocations: 0 / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.4711, allocations: 0.75 kB / 0.8197 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.4713, allocations: 34.86 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.463e-05/0.4714, allocations: 18.11 kB / 0.8198 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.4715, allocations: 51.66 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.96e-05/0.4715, allocations: 4.797 kB / 0.8198 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.4717, allocations: 32 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.083e-05/0.4717, allocations: 16.72 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.4718, allocations: 3.25 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.4718, allocations: 8.062 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.4718, allocations: 12.88 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.4718, allocations: 22.98 kB / 0.8199 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.4719, allocations: 44.22 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4719, allocations: 0.9844 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4719, allocations: 4 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.472, allocations: 0 / 0.82 GB, free: 15.59 MB / 0.6198 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.0004844/0.4724, allocations: 280.4 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4725, allocations: 8.594 kB / 0.8202 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.4725, allocations: 35.92 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.604e-05/0.4725, allocations: 4.375 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.4726, allocations: 113.1 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4727, allocations: 2.312 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.4727, allocations: 5.844 kB / 0.8204 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.4728, allocations: 61.8 kB / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4728, allocations: 0 / 0.8205 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.4728, allocations: 6.094 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4728, allocations: 0 / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.4729, allocations: 18.28 kB / 0.8205 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.4732, allocations: 232.9 kB / 0.8207 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4733, allocations: 44.39 kB / 0.8207 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.4733, allocations: 26.44 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.4733, allocations: 1.891 kB / 0.8208 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.4735, allocations: 65.61 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.4735, allocations: 4 kB / 0.8208 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0001694/0.4737, allocations: 81.7 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.4737, allocations: 52.2 kB / 0.821 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.781e-05/0.4738, allocations: 112.8 kB / 0.8211 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.4738, allocations: 25.7 kB / 0.8211 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.4738, allocations: 91.7 kB / 0.8212 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.4738, allocations: 20.67 kB / 0.8212 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.4738, allocations: 13.72 kB / 0.8212 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.4739, allocations: 324.2 kB / 0.8215 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.4739, allocations: 10.48 kB / 0.8215 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.907e-05/0.474, allocations: 18.89 kB / 0.8216 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.474, allocations: 28.92 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.474, allocations: 2.625 kB / 0.8216 GB, free: 14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.37e-05/0.4741, allocations: 64.41 kB / 0.8216 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.4741, allocations: 7.5 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.4741, allocations: 4.375 kB / 0.8217 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.4741, allocations: 3.938 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.4742, allocations: 7.484 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.4742, allocations: 1.344 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.4742, allocations: 8.156 kB / 0.8217 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4742, allocations: 1.25 kB / 0.8217 GB, free: 13.94 MB / 0.6198 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.551e-05/0.4743, allocations: 121.3 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-06/0.4743, allocations: 7.672 kB / 0.8218 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.4743, allocations: 5.656 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4743, allocations: 1.531 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4743, allocations: 0 / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4743, allocations: 0.5156 kB / 0.8218 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.941e-05/0.4744, allocations: 141.2 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4744, allocations: 0 / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.4744, allocations: 4.531 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.4744, allocations: 3.938 kB / 0.8219 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4744, allocations: 5.703 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.4744, allocations: 0.5156 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4744, allocations: 1.375 kB / 0.822 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.4745, allocations: 101.2 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.4746, allocations: 6.078 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.4746, allocations: 1.719 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.064e-05/0.4746, allocations: 7.984 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.4746, allocations: 5.266 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.4746, allocations: 1.656 kB / 0.8221 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.4747, allocations: 94.31 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4747, allocations: 4 kB / 0.8222 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001255/0.4748, allocations: 9 kB / 0.8222 GB, free: 13.45 MB / 0.6198 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.0002886/0.4751, allocations: 0.6341 MB / 0.8228 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.4752, allocations: 30.92 kB / 0.8228 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4752, allocations: 0.9688 kB / 0.8228 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.261e-05/0.4752, allocations: 19.11 kB / 0.8228 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.4754, allocations: 10.53 kB / 0.8229 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.4762, allocations: 1.227 MB / 0.8241 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.4763, allocations: 69.28 kB / 0.8241 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.4763, allocations: 4.438 kB / 0.8241 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.4763, allocations: 15.12 kB / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of SimCode: time 4.1e-07/0.4763, allocations: 0 / 0.8241 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.4929, allocations: 2.032 MB / 0.8261 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.674/7.167, allocations: 11.8 kB / 0.8261 GB, free: 10.74 MB / 0.6198 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: 10.144027763977647] Failed to read output from testmodel.py, exit status != 0: 7.244934143032879 7.257256147 6.783309591 Calling exit ...