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.0007353/0.0007353, allocations: 76.55 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0007721/0.0007721, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.871/0.871, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.5469/0.5469, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5542 GB, free: 1.691 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.816e-05, allocations: 5.344 kB / 0.5542 GB, free: 1.688 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.001792/0.00181, allocations: 1.485 MB / 0.5556 GB, free: 200 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006381/0.002448, allocations: 478.8 kB / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.002486, allocations: 0 / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.002511, allocations: 3.938 kB / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.00271, allocations: 23.84 kB / 0.5561 GB, free: 15.7 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.094e-05/0.002771, allocations: 15.97 kB / 0.5561 GB, free: 15.68 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.002843, allocations: 63.72 kB / 0.5562 GB, free: 15.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.323e-05/0.002927, allocations: 8 kB / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.003087, allocations: 47.83 kB / 0.5563 GB, free: 15.56 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.003159, allocations: 19.91 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.003173, allocations: 4 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.003182, allocations: 4 kB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.003199, allocations: 15.98 kB / 0.5563 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.003238, allocations: 15.92 kB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.338e-05/0.003321, allocations: 47.86 kB / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.003323, allocations: 0 / 0.5564 GB, free: 15.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003324, allocations: 4 kB / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.003327, allocations: 0 / 0.5564 GB, free: 15.45 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003988/0.003726, allocations: 286.3 kB / 0.5566 GB, free: 15.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.003765, allocations: 8.625 kB / 0.5566 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.898e-05/0.003794, allocations: 34.75 kB / 0.5567 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.248e-05/0.003817, allocations: 8.828 kB / 0.5567 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.372e-05/0.0039, allocations: 121.7 kB / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.003911, allocations: 4.375 kB / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.00392, allocations: 4.375 kB / 0.5568 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.944e-05/0.00401, allocations: 54.23 kB / 0.5569 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.004017, allocations: 192 / 0.5569 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.004026, allocations: 12.06 kB / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.00403, allocations: 0 / 0.5569 GB, free: 14.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.235e-05/0.004082, allocations: 23.98 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.004414, allocations: 240 kB / 0.5571 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.917e-05/0.004513, allocations: 54.44 kB / 0.5572 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.057e-05/0.004544, allocations: 20.98 kB / 0.5572 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.004552, allocations: 0 / 0.5572 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.004678, allocations: 75.36 kB / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.004679, allocations: 0 / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001734/0.004852, allocations: 85.58 kB / 0.5574 GB, free: 14.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.004888, allocations: 63.47 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.00495, allocations: 113.8 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.004961, allocations: 29.7 kB / 0.5576 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.004999, allocations: 88.12 kB / 0.5576 GB, free: 13.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.00502, allocations: 15.84 kB / 0.5577 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.005058, allocations: 21.72 kB / 0.5577 GB, free: 13.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.005137, allocations: 318.8 kB / 0.558 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.005164, allocations: 16 kB / 0.558 GB, free: 13.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.005185, allocations: 15.98 kB / 0.558 GB, free: 13.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.079e-05/0.005236, allocations: 32.86 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005239, allocations: 7.938 kB / 0.558 GB, free: 13.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.872e-05/0.005317, allocations: 77.58 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.005331, allocations: 9.875 kB / 0.5581 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.005335, allocations: 256 / 0.5581 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.005345, allocations: 0 / 0.5581 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.005404, allocations: 19.98 kB / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.005408, allocations: 0 / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.005441, allocations: 0 / 0.5581 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.005449, allocations: 4 kB / 0.5582 GB, free: 13.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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.482e-05/0.005514, allocations: 117.8 kB / 0.5583 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-06/0.00552, allocations: 11.89 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.005538, allocations: 12.42 kB / 0.5583 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005539, allocations: 3.938 kB / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.005543, allocations: 0 / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.005545, allocations: 0 / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.384e-05/0.005629, allocations: 144.7 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.00563, allocations: 0 / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.005641, allocations: 7.938 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.005643, allocations: 3.984 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.005651, allocations: 4 kB / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.82e-07/0.005652, allocations: 0 / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.005653, allocations: 8 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.503e-05/0.005738, allocations: 93.06 kB / 0.5585 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.00575, allocations: 7.938 kB / 0.5585 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.005764, allocations: 8 kB / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.392e-05/0.005788, allocations: 0 / 0.5586 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.00582, allocations: 7.984 kB / 0.5586 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.005824, allocations: 0 / 0.5586 GB, free: 12.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.435e-05/0.005858, allocations: 91.22 kB / 0.5587 GB, free: 12.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005858, allocations: 0 / 0.5587 GB, free: 12.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001407/0.005999, allocations: 19.98 kB / 0.5587 GB, free: 12.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002533/0.006252, allocations: 0.6358 MB / 0.5593 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.379e-05/0.006346, allocations: 44.05 kB / 0.5593 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006347, allocations: 0 / 0.5593 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.006377, allocations: 20 kB / 0.5594 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/0.006487, allocations: 5.547 kB / 0.5594 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009206/0.007407, allocations: 1.263 MB / 0.5606 GB, free: 10.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.581e-05/0.007443, allocations: 67.34 kB / 0.5607 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.24e-05/0.007465, allocations: 7.984 kB / 0.5607 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.007499, allocations: 16.5 kB / 0.5607 GB, free: 10.64 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0075, allocations: 3.938 kB / 0.5607 GB, free: 10.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.02094, allocations: 2.233 MB / 0.5629 GB, free: 8.598 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/6.831, allocations: 7.062 kB / 0.5629 GB, free: 8.594 MB / 490.7 MB " [Timeout remaining time 653] (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: 9.146709395572543] Failed to read output from testmodel.py, exit status != 0: 6.913360942155123 6.925377444 6.919483854 Calling exit ...