Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001099/0.001099, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001085/0.001085, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 1.055/1.055, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001843/0.001843, allocations: 233.9 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7632/0.7632, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.343e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002204/0.002227, allocations: 1.511 MB / 0.6478 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3357/0.3379, allocations: 464.6 kB / 0.6482 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.338, allocations: 0.5312 kB / 0.6482 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.511e-05/0.3381, allocations: 4.594 kB / 0.6482 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.3385, allocations: 26.72 kB / 0.6482 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.3387, allocations: 17.64 kB / 0.6483 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3388, allocations: 54.91 kB / 0.6483 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.339, allocations: 7.203 kB / 0.6483 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.3393, allocations: 37.61 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.3395, allocations: 22.27 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.3395, allocations: 3.969 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.077e-05/0.3395, allocations: 7.625 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.3396, allocations: 11.67 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.3396, allocations: 15.86 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3398, allocations: 47.28 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.3398, allocations: 0.8125 kB / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3398, allocations: 0 / 0.6485 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.3398, allocations: 0 / 0.6485 GB, free: 55.79 MB / 0.5573 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.0006857/0.3405, allocations: 275.9 kB / 0.6487 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/0.3405, allocations: 12.12 kB / 0.6487 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.885e-05/0.3406, allocations: 35.16 kB / 0.6488 GB, free: 55.5 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3406, allocations: 7.094 kB / 0.6488 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3407, allocations: 111.6 kB / 0.6489 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.3408, allocations: 3.156 kB / 0.6489 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3408, allocations: 4.5 kB / 0.6489 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3409, allocations: 53.03 kB / 0.6489 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3409, allocations: 2.203 kB / 0.6489 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3409, allocations: 5.781 kB / 0.649 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.341, allocations: 1.406 kB / 0.649 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.593e-05/0.341, allocations: 18.5 kB / 0.649 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004877/0.3415, allocations: 239.2 kB / 0.6492 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.3416, allocations: 46 kB / 0.6492 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.3417, allocations: 21.88 kB / 0.6493 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.3417, allocations: 1.594 kB / 0.6493 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.3419, allocations: 65.81 kB / 0.6493 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.3419, allocations: 2.156 kB / 0.6493 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.0002311/0.3421, allocations: 81.06 kB / 0.6494 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3422, allocations: 52.91 kB / 0.6495 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.3423, allocations: 114.7 kB / 0.6496 GB, free: 54.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.3423, allocations: 27.92 kB / 0.6496 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.3423, allocations: 90.44 kB / 0.6497 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3423, allocations: 12.03 kB / 0.6497 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.3424, allocations: 19.23 kB / 0.6497 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.3424, allocations: 317.9 kB / 0.65 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.3424, allocations: 12.22 kB / 0.65 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.3425, allocations: 18.69 kB / 0.65 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.943e-05/0.3425, allocations: 32.3 kB / 0.6501 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3425, allocations: 7.875 kB / 0.6501 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001104/0.3427, allocations: 68.19 kB / 0.6501 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.3427, allocations: 6.188 kB / 0.6502 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3427, allocations: 0 / 0.6502 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.3427, allocations: 3.672 kB / 0.6502 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3429, allocations: 9.578 kB / 0.6502 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.3429, allocations: 1.75 kB / 0.6502 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.3429, allocations: 5.812 kB / 0.6502 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3429, allocations: 2.156 kB / 0.6502 GB, free: 54.32 MB / 0.5573 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.78e-05/0.343, allocations: 118.3 kB / 0.6503 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-06/0.343, allocations: 8.203 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.713e-05/0.343, allocations: 7.234 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.343, allocations: 0 / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.343, allocations: 7.031 kB / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.343, allocations: 0 / 0.6503 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.332e-05/0.3431, allocations: 137.6 kB / 0.6504 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.3431, allocations: 0 / 0.6504 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.478e-05/0.3431, allocations: 6.234 kB / 0.6504 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3431, allocations: 0.9688 kB / 0.6504 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3432, allocations: 2.219 kB / 0.6504 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.3432, allocations: 2.859 kB / 0.6505 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3432, allocations: 2.125 kB / 0.6505 GB, free: 54.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3433, allocations: 105 kB / 0.6506 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.3433, allocations: 7.062 kB / 0.6506 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3433, allocations: 1.656 kB / 0.6506 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/0.3433, allocations: 4 kB / 0.6506 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3434, allocations: 12.22 kB / 0.6506 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3434, allocations: 0.75 kB / 0.6506 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.951e-05/0.3434, allocations: 89.67 kB / 0.6507 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3434, allocations: 0 / 0.6507 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001342/0.3435, allocations: 9.062 kB / 0.6507 GB, free: 53.89 MB / 0.5573 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.0002782/0.3438, allocations: 0.6411 MB / 0.6513 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.3439, allocations: 34.05 kB / 0.6513 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3439, allocations: 1.156 kB / 0.6513 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.344, allocations: 16.88 kB / 0.6513 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.3441, allocations: 4.094 kB / 0.6514 GB, free: 53.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008161/0.3449, allocations: 1.228 MB / 0.6526 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.345, allocations: 69.77 kB / 0.6526 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.345, allocations: 6.516 kB / 0.6526 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.3451, allocations: 15.59 kB / 0.6526 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.3451, allocations: 0 / 0.6526 GB, free: 52.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.3626, allocations: 2.196 MB / 0.6548 GB, free: 51.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.276, allocations: 6.906 kB / 0.6548 GB, free: 51.36 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.500069759786129] Failed to read output from testmodel.py, exit status != 0: 8.355903244577348 8.366562201 8.024168561 Calling exit ...