Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 98.25 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 193.2 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7606/0.7606, allocations: 115.3 MB / 406.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 66.73 kB / 0.5572 GB, free: 32.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1693, allocations: 76.18 MB / 0.6316 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003793/0.1732, allocations: 1.447 MB / 0.633 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006256/0.1739, allocations: 187.4 kB / 0.6332 GB, free: 3.309 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.746e-05/0.174, allocations: 0 / 0.6332 GB, free: 3.309 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.36e-05/0.1741, allocations: 3.984 kB / 0.6332 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003741/0.1744, allocations: 19.86 kB / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.1748, allocations: 65.95 kB / 0.6333 GB, free: 3.223 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.175, allocations: 59.83 kB / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.1751, allocations: 4 kB / 0.6333 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.558e-05/0.1752, allocations: 23.92 kB / 0.6334 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1753, allocations: 23.92 kB / 0.6334 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.1754, allocations: 4 kB / 0.6334 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.1754, allocations: 4 kB / 0.6334 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.1754, allocations: 15.97 kB / 0.6334 GB, free: 3.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.1755, allocations: 23.86 kB / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1757, allocations: 54.67 kB / 0.6335 GB, free: 3.016 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1757, allocations: 0 / 0.6335 GB, free: 3.016 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1757, allocations: 0 / 0.6335 GB, free: 3.016 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1757, allocations: 0 / 0.6335 GB, free: 3.016 MB / 478.1 MB 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.0006996/0.1764, allocations: 352.2 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.1765, allocations: 12.02 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.1765, allocations: 34.75 kB / 0.6339 GB, free: 2.566 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.1766, allocations: 4.938 kB / 0.6339 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1768, allocations: 172.2 kB / 0.634 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.1768, allocations: 384 / 0.634 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.1769, allocations: 8.375 kB / 0.634 GB, free: 2.348 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.1771, allocations: 68.81 kB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1771, allocations: 7.938 kB / 0.6341 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1771, allocations: 0 / 0.6341 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.1771, allocations: 4 kB / 0.6341 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.829e-05/0.1772, allocations: 19.92 kB / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.1778, allocations: 272.9 kB / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1779, allocations: 34.58 kB / 0.6344 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.958e-05/0.178, allocations: 24.94 kB / 0.6345 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.178, allocations: 0 / 0.6345 GB, free: 1.848 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002684/0.1783, allocations: 67.33 kB / 0.6345 GB, free: 1.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.1783, allocations: 0 / 0.6345 GB, free: 1.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002752/0.1786, allocations: 77.52 kB / 0.6346 GB, free: 1.688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/0.1787, allocations: 106.8 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.1788, allocations: 101.9 kB / 0.6348 GB, free: 1.449 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1788, allocations: 33.7 kB / 0.6348 GB, free: 1.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.1789, allocations: 88.06 kB / 0.6349 GB, free: 1.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.1789, allocations: 11.81 kB / 0.6349 GB, free: 1.309 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.179, allocations: 25.7 kB / 0.6349 GB, free: 1.277 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1791, allocations: 314.8 kB / 0.6352 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.1792, allocations: 12 kB / 0.6353 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.549e-05/0.1792, allocations: 34.5 kB / 0.6353 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.1793, allocations: 32.89 kB / 0.6353 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1793, allocations: 3.938 kB / 0.6353 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001211/0.1794, allocations: 57.69 kB / 0.6354 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1795, allocations: 4 kB / 0.6354 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1795, allocations: 0 / 0.6354 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1795, allocations: 0 / 0.6354 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.515e-05/0.1796, allocations: 11.92 kB / 0.6354 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1796, allocations: 4 kB / 0.6354 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.1797, allocations: 7.984 kB / 0.6354 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1797, allocations: 0 / 0.6354 GB, free: 0.7773 MB / 478.1 MB 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.0001077/0.1799, allocations: 122 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.1799, allocations: 4 kB / 0.6355 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.1799, allocations: 11.48 kB / 0.6355 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1799, allocations: 0 / 0.6355 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1799, allocations: 0 / 0.6355 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.18, allocations: 0 / 0.6355 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.1801, allocations: 177.9 kB / 0.6357 GB, free: 416 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1801, allocations: 4 kB / 0.6357 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.1802, allocations: 4 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1802, allocations: 4 kB / 0.6357 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.1802, allocations: 8 kB / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1802, allocations: 0 / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1802, allocations: 0 / 0.6357 GB, free: 396 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1804, allocations: 92.98 kB / 0.6358 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.1805, allocations: 85.09 kB / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1805, allocations: 0 / 0.6359 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1806, allocations: 11.98 kB / 0.6359 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.1806, allocations: 8 kB / 0.6359 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1807, allocations: 7.984 kB / 0.6359 GB, free: 152 kB / 478.1 MB Notification: Performance of sorting global known variables: time 5.709e-05/0.1807, allocations: 79.28 kB / 0.636 GB, free: 72 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1807, allocations: 0 / 0.636 GB, free: 72 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002053/0.181, allocations: 12 kB / 0.636 GB, free: 60 kB / 478.1 MB 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.0005428/0.1815, allocations: 0.6421 MB / 0.6366 GB, free: 15.39 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1817, allocations: 31.92 kB / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1817, allocations: 0 / 0.6367 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.1817, allocations: 16 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.1819, allocations: 11.92 kB / 0.6367 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.1832, allocations: 1.172 MB / 0.6378 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1835, allocations: 0.6807 MB / 0.6385 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.86e-05/0.1836, allocations: 4 kB / 0.6385 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.225e-05/0.1836, allocations: 23.42 kB / 0.6385 GB, free: 13.34 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1837, allocations: 0 / 0.6385 GB, free: 13.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.2045, allocations: 1.797 MB / 0.6403 GB, free: 11.69 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.082, allocations: 3 kB / 0.6403 GB, free: 11.69 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)