Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001099/0.001099, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001064/0.001064, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7592/0.7592, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 68 kB / 0.5572 GB, free: 32.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 76.19 MB / 0.6316 GB, free: 5.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002869/0.1683, allocations: 1.443 MB / 0.633 GB, free: 3.555 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004836/0.1688, allocations: 183.4 kB / 0.6332 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.1689, allocations: 0 / 0.6332 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.1689, allocations: 0 / 0.6332 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1692, allocations: 35.83 kB / 0.6332 GB, free: 3.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1694, allocations: 51.86 kB / 0.6333 GB, free: 3.289 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1696, allocations: 55.84 kB / 0.6333 GB, free: 3.234 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.1697, allocations: 7.984 kB / 0.6333 GB, free: 3.227 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.672e-05/0.1697, allocations: 23.94 kB / 0.6334 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.798e-05/0.1698, allocations: 27.89 kB / 0.6334 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1699, allocations: 4 kB / 0.6334 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.1699, allocations: 4 kB / 0.6334 GB, free: 3.168 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.1699, allocations: 7.984 kB / 0.6334 GB, free: 3.16 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.17, allocations: 23.88 kB / 0.6334 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1701, allocations: 54.67 kB / 0.6335 GB, free: 3.086 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1701, allocations: 4 kB / 0.6335 GB, free: 3.082 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1701, allocations: 0 / 0.6335 GB, free: 3.082 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1701, allocations: 0 / 0.6335 GB, free: 3.082 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.0005845/0.1707, allocations: 352.2 kB / 0.6338 GB, free: 2.688 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1708, allocations: 8.031 kB / 0.6338 GB, free: 2.68 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/0.1708, allocations: 38.69 kB / 0.6339 GB, free: 2.633 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.1708, allocations: 4.875 kB / 0.6339 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.171, allocations: 176.3 kB / 0.634 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.171, allocations: 4.375 kB / 0.634 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.171, allocations: 4.375 kB / 0.6341 GB, free: 2.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.1712, allocations: 68.81 kB / 0.6341 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1712, allocations: 7.938 kB / 0.6341 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1712, allocations: 4 kB / 0.6341 GB, free: 2.316 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1713, allocations: 4 kB / 0.6341 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.85e-05/0.1713, allocations: 19.92 kB / 0.6341 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.1718, allocations: 272.9 kB / 0.6344 GB, free: 1.977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.1719, allocations: 38.56 kB / 0.6344 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.1719, allocations: 16.86 kB / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1719, allocations: 0 / 0.6345 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.1721, allocations: 67.42 kB / 0.6345 GB, free: 1.832 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.1721, allocations: 4 kB / 0.6345 GB, free: 1.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002272/0.1724, allocations: 73.58 kB / 0.6346 GB, free: 1.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.1725, allocations: 106.8 kB / 0.6347 GB, free: 1.621 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.1726, allocations: 105.8 kB / 0.6348 GB, free: 1.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1726, allocations: 25.7 kB / 0.6348 GB, free: 1.477 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1726, allocations: 88.08 kB / 0.6349 GB, free: 1.387 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1727, allocations: 11.81 kB / 0.6349 GB, free: 1.375 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.1727, allocations: 21.7 kB / 0.6349 GB, free: 1.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1729, allocations: 334.7 kB / 0.6353 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.1729, allocations: 8 kB / 0.6353 GB, free: 1.004 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.232e-05/0.173, allocations: 30.56 kB / 0.6353 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.785e-05/0.173, allocations: 24.86 kB / 0.6353 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.173, allocations: 3.938 kB / 0.6353 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.1731, allocations: 57.69 kB / 0.6354 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1732, allocations: 5.406 kB / 0.6354 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1732, allocations: 0 / 0.6354 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1732, allocations: 4.031 kB / 0.6354 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.1733, allocations: 16.12 kB / 0.6354 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1733, allocations: 0 / 0.6354 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.1734, allocations: 7.984 kB / 0.6354 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1734, allocations: 4.438 kB / 0.6354 GB, free: 0.8359 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 9.732e-05/0.1735, allocations: 117.8 kB / 0.6355 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.1736, allocations: 7.969 kB / 0.6355 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.1736, allocations: 3.5 kB / 0.6355 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1736, allocations: 8 kB / 0.6356 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1736, allocations: 4 kB / 0.6356 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1736, allocations: 3.938 kB / 0.6356 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1738, allocations: 177.5 kB / 0.6357 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1738, allocations: 0 / 0.6357 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.1738, allocations: 4 kB / 0.6357 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1738, allocations: 0 / 0.6357 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.1738, allocations: 0 / 0.6357 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1738, allocations: 0 / 0.6357 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1738, allocations: 0 / 0.6357 GB, free: 464 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.174, allocations: 101 kB / 0.6358 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.1741, allocations: 85.09 kB / 0.6359 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.1741, allocations: 4 kB / 0.6359 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1742, allocations: 7.984 kB / 0.6359 GB, free: 228 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.1742, allocations: 4 kB / 0.6359 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1743, allocations: 0 / 0.6359 GB, free: 224 kB / 478.1 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.1743, allocations: 87.27 kB / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1743, allocations: 0 / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001912/0.1745, allocations: 16 kB / 0.636 GB, free: 120 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.0004693/0.175, allocations: 0.6357 MB / 0.6366 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.1751, allocations: 31.98 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1752, allocations: 0 / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.254e-05/0.1752, allocations: 12 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.1754, allocations: 8 kB / 0.6367 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1765, allocations: 1.187 MB / 0.6379 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.1768, allocations: 0.6768 MB / 0.6385 GB, free: 13.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.146e-05/0.1768, allocations: 8 kB / 0.6385 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.1769, allocations: 7.438 kB / 0.6385 GB, free: 13.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1769, allocations: 0 / 0.6385 GB, free: 13.41 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.1959, allocations: 1.811 MB / 0.6403 GB, free: 11.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.1, allocations: 7.969 kB / 0.6403 GB, free: 11.75 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)