Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001329/0.001329, allocations: 119 kB / 19.69 MB, free: 2.199 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.001674/0.001674, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8988/0.8988, allocations: 150 MB / 463.2 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001992/0.001992, allocations: 66.97 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1692, allocations: 89.16 MB / 0.7284 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002718/0.1719, allocations: 1.49 MB / 0.7298 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.1728, allocations: 0.5065 MB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.1728, allocations: 0 / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.1729, allocations: 7.922 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1731, allocations: 19.86 kB / 0.7303 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 7.624e-05/0.1732, allocations: 15.97 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1733, allocations: 55.73 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.1734, allocations: 16.28 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.1735, allocations: 23.92 kB / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.418e-05/0.1736, allocations: 35.83 kB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1736, allocations: 4 kB / 0.7305 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.1736, allocations: 4 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.706e-05/0.1737, allocations: 4 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.1737, allocations: 23.86 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1738, allocations: 43.81 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1738, allocations: 0 / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1738, allocations: 0 / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1738, allocations: 4 kB / 0.7306 GB, free: 14.98 MB / 0.5606 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.0005509/0.1744, allocations: 286.2 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1744, allocations: 8.031 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.1745, allocations: 38.69 kB / 0.7309 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.1745, allocations: 4.938 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.1746, allocations: 118.5 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1746, allocations: 4.359 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1746, allocations: 8.359 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1748, allocations: 57.75 kB / 0.7311 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1748, allocations: 4 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1748, allocations: 0 / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1748, allocations: 0 / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.877e-05/0.1748, allocations: 19.98 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.1752, allocations: 239.9 kB / 0.7313 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1753, allocations: 42.61 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.1753, allocations: 28.84 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.1753, allocations: 0 / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.1755, allocations: 59.39 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1755, allocations: 0 / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002298/0.1757, allocations: 97.5 kB / 0.7315 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1758, allocations: 51.41 kB / 0.7316 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.1759, allocations: 109.8 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1759, allocations: 29.7 kB / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.1759, allocations: 84.14 kB / 0.7318 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.176, allocations: 19.89 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.176, allocations: 17.7 kB / 0.7318 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1761, allocations: 318.8 kB / 0.7321 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.399e-05/0.1762, allocations: 15.98 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.423e-05/0.1762, allocations: 12 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.157e-05/0.1763, allocations: 28.86 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1763, allocations: 4 kB / 0.7322 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001088/0.1764, allocations: 70.02 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1764, allocations: 10.34 kB / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1764, allocations: 0 / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.1764, allocations: 0 / 0.7323 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.1765, allocations: 15.98 kB / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.1765, allocations: 0 / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.1765, allocations: 0 / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.1766, allocations: 4 kB / 0.7323 GB, free: 13.02 MB / 0.5606 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 8.876e-05/0.1766, allocations: 119.8 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.1767, allocations: 4 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.1767, allocations: 8.047 kB / 0.7324 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1767, allocations: 0 / 0.7324 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1767, allocations: 4 kB / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1767, allocations: 3.938 kB / 0.7324 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1768, allocations: 140.7 kB / 0.7326 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1768, allocations: 0 / 0.7326 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.1769, allocations: 11.92 kB / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1769, allocations: 0 / 0.7326 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1769, allocations: 8 kB / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1769, allocations: 4 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1769, allocations: 0 / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.177, allocations: 93.02 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.177, allocations: 15.88 kB / 0.7327 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.1771, allocations: 7.938 kB / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.1771, allocations: 0 / 0.7327 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.1771, allocations: 7.984 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1771, allocations: 4 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.724e-05/0.1772, allocations: 87.28 kB / 0.7328 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1772, allocations: 0 / 0.7328 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001801/0.1774, allocations: 12 kB / 0.7328 GB, free: 12.42 MB / 0.5606 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.000458/0.1778, allocations: 0.6398 MB / 0.7334 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.178, allocations: 31.98 kB / 0.7335 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.178, allocations: 4 kB / 0.7335 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.178, allocations: 19.92 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.1781, allocations: 4.75 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1794, allocations: 1.23 MB / 0.7347 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.1797, allocations: 0.6807 MB / 0.7353 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.1797, allocations: 4.25 kB / 0.7354 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.1798, allocations: 19.42 kB / 0.7354 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1798, allocations: 4 kB / 0.7354 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.2061, allocations: 1.615 MB / 0.737 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.03, allocations: 7.406 kB / 0.737 GB, free: 8.191 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.58316391799599] Failed to read output from testmodel.py, exit status != 0: 11.15589352697134 11.172965653 10.99587738 Calling exit ...