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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005297/0.005297, allocations: 101.2 kB / 15.73 MB, free: 6.422 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.001256/0.001256, allocations: 188.8 kB / 16.67 MB, free: 6.352 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 270.9 kB / 290.8 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9461/0.9461, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 91.84 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1459, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002328/0.1483, allocations: 1.457 MB / 0.7678 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004004/0.1487, allocations: 187.4 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.1487, allocations: 0 / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.1488, allocations: 3.938 kB / 0.768 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.149, allocations: 39.78 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.1492, allocations: 47.86 kB / 0.7681 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.1493, allocations: 59.83 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.333e-05/0.1494, allocations: 7.938 kB / 0.7681 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.1495, allocations: 27.92 kB / 0.7682 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.1496, allocations: 19.91 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.1496, allocations: 4 kB / 0.7682 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.784e-05/0.1496, allocations: 8 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.1496, allocations: 11.98 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.1497, allocations: 27.86 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.1498, allocations: 47.86 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1498, allocations: 0 / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1498, allocations: 0 / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.95e-06/0.1498, allocations: 0 / 0.7683 GB, free: 6.484 MB / 0.5606 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.0005449/0.1504, allocations: 355.4 kB / 0.7686 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1504, allocations: 8.031 kB / 0.7686 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1505, allocations: 8.844 kB / 0.7686 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1506, allocations: 168.4 kB / 0.7688 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1506, allocations: 4.312 kB / 0.7688 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1507, allocations: 4.375 kB / 0.7688 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1508, allocations: 72.81 kB / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1508, allocations: 192 / 0.7689 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1508, allocations: 3.938 kB / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1508, allocations: 0 / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.578e-05/0.1509, allocations: 19.98 kB / 0.7689 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.1513, allocations: 284.7 kB / 0.7692 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.458e-05/0.1514, allocations: 34.58 kB / 0.7692 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.989e-05/0.1514, allocations: 20.94 kB / 0.7692 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.1514, allocations: 0 / 0.7692 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.1516, allocations: 67.38 kB / 0.7693 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1516, allocations: 3.938 kB / 0.7693 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001893/0.1518, allocations: 69.69 kB / 0.7694 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.1518, allocations: 106.8 kB / 0.7695 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.1519, allocations: 101.9 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.152, allocations: 25.7 kB / 0.7696 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.474e-05/0.152, allocations: 92.06 kB / 0.7697 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.152, allocations: 11.81 kB / 0.7697 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.1521, allocations: 25.7 kB / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1522, allocations: 322.7 kB / 0.77 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.1522, allocations: 8 kB / 0.77 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.035e-05/0.1523, allocations: 42.5 kB / 0.7701 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.1523, allocations: 29.17 kB / 0.7701 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1524, allocations: 4 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.353e-05/0.1525, allocations: 53.69 kB / 0.7701 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1525, allocations: 8 kB / 0.7702 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1525, allocations: 4.031 kB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1525, allocations: 0 / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.771e-05/0.1526, allocations: 7.984 kB / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1526, allocations: 0 / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.1527, allocations: 11.98 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1527, allocations: 0 / 0.7702 GB, free: 4.285 MB / 0.5606 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 9.374e-05/0.1528, allocations: 122.4 kB / 0.7703 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.1528, allocations: 7.906 kB / 0.7703 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.1529, allocations: 11.5 kB / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1529, allocations: 192 / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1529, allocations: 0 / 0.7703 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1529, allocations: 3.984 kB / 0.7703 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.153, allocations: 173.6 kB / 0.7705 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.153, allocations: 0 / 0.7705 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/0.1531, allocations: 4 kB / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1531, allocations: 0 / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1531, allocations: 0 / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.1531, allocations: 4 kB / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1531, allocations: 0 / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.1532, allocations: 93.05 kB / 0.7706 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.1533, allocations: 89 kB / 0.7707 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.1533, allocations: 0 / 0.7707 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.1534, allocations: 11.92 kB / 0.7707 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1535, allocations: 8 kB / 0.7707 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1535, allocations: 3.984 kB / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.1535, allocations: 87.34 kB / 0.7708 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1535, allocations: 4 kB / 0.7708 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001981/0.1537, allocations: 12 kB / 0.7708 GB, free: 3.566 MB / 0.5606 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.0001149/0.1539, allocations: 99.25 kB / 0.7709 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.154, allocations: 35.92 kB / 0.7709 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.154, allocations: 0 / 0.7709 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.1541, allocations: 19.92 kB / 0.7709 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.1542, allocations: 15.88 kB / 0.7709 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.1545, allocations: 113.5 kB / 0.7711 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1548, allocations: 0.6846 MB / 0.7717 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.763e-05/0.1548, allocations: 7.984 kB / 0.7717 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.1548, allocations: 15.38 kB / 0.7717 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1548, allocations: 0 / 0.7717 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of Templates: time 0.002812/0.1576, allocations: 0.8822 MB / 0.7726 GB, free: 1.656 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)