Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001154/0.001154, 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.001242/0.001242, allocations: 212 kB / 19.43 MB, free: 3.637 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.315/1.315, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 289.7 kB / 309.1 MB, free: 3.965 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002641/0.002641, allocations: 112.8 kB / 0.7343 GB, free: 28.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1468, allocations: 95.34 MB / 0.8274 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002671/0.1495, allocations: 1.473 MB / 0.8288 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004552/0.15, allocations: 197.1 kB / 0.829 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.15, allocations: 0 / 0.829 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.1501, allocations: 3.938 kB / 0.829 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1503, allocations: 27.86 kB / 0.829 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.1505, allocations: 58.91 kB / 0.8291 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.1506, allocations: 59.77 kB / 0.8291 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.945e-05/0.1507, allocations: 11.94 kB / 0.8292 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.1508, allocations: 27.92 kB / 0.8292 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.1508, allocations: 19.91 kB / 0.8292 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.1508, allocations: 4 kB / 0.8292 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.1509, allocations: 4 kB / 0.8292 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.1509, allocations: 19.92 kB / 0.8292 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.1509, allocations: 19.92 kB / 0.8293 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.151, allocations: 47.86 kB / 0.8293 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.151, allocations: 0 / 0.8293 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.151, allocations: 0 / 0.8293 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.151, allocations: 0 / 0.8293 GB, free: 7.879 MB / 0.5762 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.0005522/0.1516, allocations: 355.4 kB / 0.8296 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1516, allocations: 8.031 kB / 0.8296 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.1517, allocations: 34.75 kB / 0.8297 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1517, allocations: 4.938 kB / 0.8297 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.1518, allocations: 176.3 kB / 0.8298 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1519, allocations: 384 / 0.8299 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1519, allocations: 4.375 kB / 0.8299 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.152, allocations: 80.75 kB / 0.8299 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.152, allocations: 3.938 kB / 0.8299 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.152, allocations: 0 / 0.8299 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.152, allocations: 4 kB / 0.8299 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.1521, allocations: 15.98 kB / 0.83 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.1524, allocations: 272.8 kB / 0.8302 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.1525, allocations: 34.56 kB / 0.8302 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.1526, allocations: 16.86 kB / 0.8303 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.782e-06/0.1526, allocations: 0 / 0.8303 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.1528, allocations: 63.48 kB / 0.8303 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1528, allocations: 0 / 0.8303 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002059/0.153, allocations: 85.5 kB / 0.8304 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.153, allocations: 102.8 kB / 0.8305 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.1531, allocations: 105.8 kB / 0.8306 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.1531, allocations: 37.64 kB / 0.8306 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.1532, allocations: 80.14 kB / 0.8307 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.1532, allocations: 11.91 kB / 0.8307 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.262e-05/0.1532, allocations: 21.7 kB / 0.8307 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1534, allocations: 322.8 kB / 0.8311 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.1534, allocations: 11.98 kB / 0.8311 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.025e-05/0.1534, allocations: 26.58 kB / 0.8311 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.888e-05/0.1535, allocations: 37.19 kB / 0.8311 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1535, allocations: 0 / 0.8311 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001048/0.1536, allocations: 65.69 kB / 0.8312 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1536, allocations: 5.562 kB / 0.8312 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1536, allocations: 0 / 0.8312 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1536, allocations: 4 kB / 0.8312 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.1537, allocations: 4 kB / 0.8312 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1537, allocations: 0 / 0.8312 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1538, allocations: 11.92 kB / 0.8312 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.1538, allocations: 8 kB / 0.8312 GB, free: 5.637 MB / 0.5762 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.999e-05/0.1539, allocations: 121.7 kB / 0.8313 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.1539, allocations: 3.953 kB / 0.8313 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.1539, allocations: 7.484 kB / 0.8314 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1539, allocations: 4 kB / 0.8314 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1539, allocations: 0 / 0.8314 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.154, allocations: 192 / 0.8314 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.1541, allocations: 173.6 kB / 0.8315 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1541, allocations: 3.984 kB / 0.8315 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.555e-05/0.1541, allocations: 7.984 kB / 0.8315 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1541, allocations: 4 kB / 0.8315 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1541, allocations: 0 / 0.8315 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1541, allocations: 0 / 0.8315 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1541, allocations: 0 / 0.8315 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.1543, allocations: 93.05 kB / 0.8316 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.1543, allocations: 85.05 kB / 0.8317 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1543, allocations: 7.984 kB / 0.8317 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.1544, allocations: 8 kB / 0.8317 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.1545, allocations: 11.92 kB / 0.8317 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1545, allocations: 0 / 0.8317 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.1545, allocations: 87.34 kB / 0.8318 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1545, allocations: 0 / 0.8318 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001826/0.1547, allocations: 15.95 kB / 0.8318 GB, free: 4.918 MB / 0.5762 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0004615/0.1552, allocations: 0.6358 MB / 0.8325 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1553, allocations: 31.88 kB / 0.8325 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1553, allocations: 0 / 0.8325 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.1553, allocations: 11.98 kB / 0.8325 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.1555, allocations: 8 kB / 0.8325 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1566, allocations: 1.169 MB / 0.8336 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1569, allocations: 0.6806 MB / 0.8343 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.637e-05/0.1569, allocations: 12 kB / 0.8343 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.1569, allocations: 11.44 kB / 0.8343 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of SimCode: time 4.41e-07/0.1569, allocations: 0 / 0.8343 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.1806, allocations: 1.825 MB / 0.8361 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.321/7.501, allocations: 6.578 kB / 0.8361 GB, free: 0.5898 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.233218025881797] Failed to read output from testmodel.py, exit status != 0: 7.567743855994195 7.584403863 7.430365843 Calling exit ...