Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001601/0.001601, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00194/0.00194, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.002352/0.002352, allocations: 287.2 kB / 309.8 MB, free: 3.426 MB / 238.1 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 1.134/1.134, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.1 MB " [Timeout remaining time 178] 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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="cs",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.002804/0.002804, allocations: 99.86 kB / 0.7347 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6179/0.6207, allocations: 95.34 MB / 0.8278 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002755/0.6234, allocations: 1.491 MB / 0.8292 GB, free: 2 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005205/0.624, allocations: 193.6 kB / 0.8294 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.624, allocations: 2.625 kB / 0.8294 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.778e-05/0.624, allocations: 4.688 kB / 0.8294 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.6243, allocations: 19.83 kB / 0.8294 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.6245, allocations: 57.36 kB / 0.8295 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.6247, allocations: 60.14 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.6248, allocations: 4.312 kB / 0.8296 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.6248, allocations: 28.77 kB / 0.8296 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.258e-05/0.6249, allocations: 22.75 kB / 0.8296 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.625, allocations: 3.875 kB / 0.8296 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.625, allocations: 5.25 kB / 0.8296 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.625, allocations: 9.531 kB / 0.8296 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.6251, allocations: 26.52 kB / 0.8297 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.6252, allocations: 47.7 kB / 0.8297 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.6252, allocations: 1.125 kB / 0.8297 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6252, allocations: 0 / 0.8297 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.6252, allocations: 4 kB / 0.8297 GB, free: 1.734 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.0005964/0.6258, allocations: 355.8 kB / 0.83 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.6258, allocations: 8.625 kB / 0.8301 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.919e-05/0.6259, allocations: 192 / 0.8301 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.6259, allocations: 32.66 kB / 0.8301 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.6259, allocations: 4.328 kB / 0.8301 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.6261, allocations: 178 kB / 0.8303 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.6261, allocations: 1.312 kB / 0.8303 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.6261, allocations: 7 kB / 0.8303 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.6263, allocations: 78.19 kB / 0.8303 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.6263, allocations: 3.938 kB / 0.8303 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.6263, allocations: 4.75 kB / 0.8304 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.6263, allocations: 2.625 kB / 0.8304 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.172e-05/0.6264, allocations: 14.27 kB / 0.8304 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.6267, allocations: 274.5 kB / 0.8306 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.6269, allocations: 38.84 kB / 0.8307 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.6269, allocations: 19.36 kB / 0.8307 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.6269, allocations: 0.7031 kB / 0.8307 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.6271, allocations: 61.64 kB / 0.8307 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.6271, allocations: 0 / 0.8307 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0002403/0.6273, allocations: 81.89 kB / 0.8308 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.6274, allocations: 106.7 kB / 0.8309 GB, free: 476 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.6275, allocations: 102.3 kB / 0.831 GB, free: 372 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.6275, allocations: 27.73 kB / 0.831 GB, free: 340 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.6275, allocations: 94.58 kB / 0.8311 GB, free: 244 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.115e-05/0.6275, allocations: 6.578 kB / 0.8311 GB, free: 240 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.6276, allocations: 22.14 kB / 0.8312 GB, free: 220 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.6278, allocations: 320.4 kB / 0.8315 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.514e-05/0.6278, allocations: 16.66 kB / 0.8315 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.917e-05/0.6279, allocations: 37.92 kB / 0.8315 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/0.6279, allocations: 27.34 kB / 0.8315 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6279, allocations: 0 / 0.8315 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001095/0.628, allocations: 60.98 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6281, allocations: 3.188 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6281, allocations: 0 / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.6281, allocations: 2.625 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.6282, allocations: 10.55 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6282, allocations: 0.75 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.6283, allocations: 8.969 kB / 0.8316 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.6283, allocations: 7.938 kB / 0.8316 GB, free: 15.78 MB / 0.5919 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 0.0001147/0.6284, allocations: 119.5 kB / 0.8318 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.6284, allocations: 2.141 kB / 0.8318 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.6284, allocations: 10.12 kB / 0.8318 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6284, allocations: 1.594 kB / 0.8318 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6285, allocations: 8 kB / 0.8318 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6285, allocations: 0 / 0.8318 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.6286, allocations: 174.9 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6286, allocations: 3.75 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.6287, allocations: 2.625 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.6287, allocations: 0.7031 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.6287, allocations: 0.7969 kB / 0.8319 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6287, allocations: 3.938 kB / 0.832 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6287, allocations: 0 / 0.832 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.6288, allocations: 98.25 kB / 0.832 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.6289, allocations: 82.73 kB / 0.8321 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.6289, allocations: 3.375 kB / 0.8321 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.629, allocations: 12.72 kB / 0.8321 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.6291, allocations: 4.125 kB / 0.8321 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.6291, allocations: 0.7031 kB / 0.8321 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.6292, allocations: 87.67 kB / 0.8322 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.6292, allocations: 0 / 0.8322 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001907/0.6294, allocations: 9.219 kB / 0.8322 GB, free: 15.18 MB / 0.5919 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.0005326/0.6299, allocations: 0.6378 MB / 0.8329 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001388/0.63, allocations: 34.95 kB / 0.8329 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.63, allocations: 3.938 kB / 0.8329 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.6301, allocations: 12.72 kB / 0.8329 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.6302, allocations: 13.14 kB / 0.8329 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.6316, allocations: 1.164 MB / 0.8341 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.6319, allocations: 0.682 MB / 0.8347 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.577e-05/0.632, allocations: 6.156 kB / 0.8347 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.632, allocations: 16 kB / 0.8347 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.632, allocations: 0 / 0.8347 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.6508, allocations: 1.844 MB / 0.8365 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.932, allocations: 11.5 kB / 0.8366 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --stepSize=31104 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.041552963957656] Failed to read output from testmodel.py, exit status != 0: 9.05396974098403 9.068345435 8.440285459 Calling exit ...