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.001773/0.001773, allocations: 105.2 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001997/0.001997, allocations: 208.9 kB / 19.42 MB, free: 3.641 MB / 14.72 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 1.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8485/0.8485, allocations: 133.9 MB / 442.8 MB, free: 11.34 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: 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.00193/0.00193, allocations: 70.47 kB / 0.6134 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1555, allocations: 85.86 MB / 0.6973 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002559/0.1581, allocations: 1.438 MB / 0.6987 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006752/0.1587, allocations: 407.1 kB / 0.6991 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/0.1588, allocations: 0 / 0.6991 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.1588, allocations: 3.938 kB / 0.6991 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.403e-05/0.1589, allocations: 0 / 0.6991 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 2.475e-05/0.1589, allocations: 3.938 kB / 0.6991 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.14e-05/0.159, allocations: 19.92 kB / 0.6991 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1591, allocations: 8 kB / 0.6991 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002134/0.1593, allocations: 19.91 kB / 0.6991 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.1593, allocations: 4 kB / 0.6991 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.1593, allocations: 8 kB / 0.6991 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.25e-06/0.1593, allocations: 0 / 0.6991 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.1594, allocations: 0 / 0.6991 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.1594, allocations: 11.94 kB / 0.6991 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.986e-05/0.1594, allocations: 15.86 kB / 0.6992 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1595, allocations: 0 / 0.6992 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.035e-06/0.1595, allocations: 7.922 kB / 0.6992 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.1595, allocations: 0 / 0.6992 GB, free: 1.023 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004599/0.1599, allocations: 323.5 kB / 0.6995 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.16, allocations: 17.09 kB / 0.6995 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.088e-05/0.16, allocations: 34.75 kB / 0.6995 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.16, allocations: 0.9375 kB / 0.6995 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.1602, allocations: 172.3 kB / 0.6997 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1602, allocations: 384 / 0.6997 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.1602, allocations: 384 / 0.6997 GB, free: 404 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.929e-05/0.1603, allocations: 41.8 kB / 0.6997 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1603, allocations: 0 / 0.6997 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.1603, allocations: 0 / 0.6997 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1603, allocations: 0 / 0.6997 GB, free: 356 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.1604, allocations: 11.94 kB / 0.6997 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.1607, allocations: 252.9 kB / 0.7 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.675e-05/0.1608, allocations: 22.64 kB / 0.7 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.1608, allocations: 16.86 kB / 0.7 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.1609, allocations: 0 / 0.7 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1609, allocations: 30.56 kB / 0.7001 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1609, allocations: 7.938 kB / 0.7001 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.00016/0.161, allocations: 45.62 kB / 0.7001 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1611, allocations: 55.41 kB / 0.7002 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.1612, allocations: 97.86 kB / 0.7003 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1612, allocations: 25.7 kB / 0.7003 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.1612, allocations: 80.14 kB / 0.7004 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.1613, allocations: 15.81 kB / 0.7004 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1613, allocations: 17.72 kB / 0.7004 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1614, allocations: 318.9 kB / 0.7007 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.1615, allocations: 4 kB / 0.7007 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-06/0.1615, allocations: 0 / 0.7007 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.1615, allocations: 20.8 kB / 0.7007 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1615, allocations: 0 / 0.7007 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.156e-05/0.1616, allocations: 41.69 kB / 0.7008 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1616, allocations: 4 kB / 0.7008 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1616, allocations: 0 / 0.7008 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1616, allocations: 4.094 kB / 0.7008 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.437e-05/0.1616, allocations: 8 kB / 0.7008 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.1616, allocations: 3.984 kB / 0.7008 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.1617, allocations: 0 / 0.7008 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.1617, allocations: 0 / 0.7008 GB, free: 15.15 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.929e-05/0.1617, allocations: 113.8 kB / 0.7009 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.1618, allocations: 3.953 kB / 0.7009 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.1618, allocations: 11.11 kB / 0.7009 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.1618, allocations: 0 / 0.7009 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1618, allocations: 8 kB / 0.7009 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1618, allocations: 0 / 0.7009 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.162, allocations: 153.6 kB / 0.701 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.162, allocations: 0 / 0.701 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.162, allocations: 3.938 kB / 0.7011 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.162, allocations: 0 / 0.7011 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.162, allocations: 8 kB / 0.7011 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.162, allocations: 0 / 0.7011 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.162, allocations: 0 / 0.7011 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.1621, allocations: 139.5 kB / 0.7012 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.1622, allocations: 77.11 kB / 0.7013 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1622, allocations: 4 kB / 0.7013 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.586e-05/0.1622, allocations: 0 / 0.7013 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.1622, allocations: 0 / 0.7013 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.1622, allocations: 0 / 0.7013 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.1623, allocations: 91.44 kB / 0.7014 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1623, allocations: 0 / 0.7014 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002238/0.1625, allocations: 11.88 kB / 0.7014 GB, free: 14.45 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004528/0.163, allocations: 0.6695 MB / 0.702 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.175e-05/0.163, allocations: 16 kB / 0.702 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1631, allocations: 0 / 0.702 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.146e-05/0.1631, allocations: 8.094 kB / 0.702 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.1633, allocations: 3.938 kB / 0.702 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000989/0.1643, allocations: 1.144 MB / 0.7032 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.1645, allocations: 0.6805 MB / 0.7038 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.509e-05/0.1646, allocations: 0 / 0.7038 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.1646, allocations: 11.44 kB / 0.7038 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.1646, allocations: 0 / 0.7038 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.1867, allocations: 1.062 MB / 0.7049 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.057, allocations: 3.984 kB / 0.7049 GB, free: 10.85 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.716652050992707] Failed to read output from testmodel.py, exit status != 0: 8.122036428001593 8.137434693 7.975072267 Calling exit ...