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.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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 197 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 290.2 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9436/0.9436, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 99.77 kB / 0.5954 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1348, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002349/0.1372, allocations: 1.447 MB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003606/0.1376, allocations: 188.1 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.772e-05/0.1376, allocations: 1.812 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.336e-05/0.1376, allocations: 3.938 kB / 0.6819 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1378, allocations: 27.84 kB / 0.6819 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.138, allocations: 54.53 kB / 0.682 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.1381, allocations: 59.8 kB / 0.682 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.033e-05/0.1382, allocations: 15.91 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.381e-05/0.1383, allocations: 20 kB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.1383, allocations: 19.91 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1384, allocations: 4 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.734e-05/0.1384, allocations: 8 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.1384, allocations: 15.86 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.1385, allocations: 23.92 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.1386, allocations: 43.86 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1386, allocations: 4 kB / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1386, allocations: 0 / 0.6822 GB, free: 14.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1386, allocations: 0 / 0.6822 GB, free: 14.66 MB / 494.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.0004572/0.139, allocations: 355.4 kB / 0.6825 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1391, allocations: 8.625 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.039e-05/0.1391, allocations: 30.75 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1392, allocations: 8.938 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1393, allocations: 176.3 kB / 0.6827 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1393, allocations: 384 / 0.6827 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.1393, allocations: 12.36 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.1394, allocations: 72.75 kB / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1395, allocations: 3.938 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1395, allocations: 4 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1395, allocations: 4 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.1395, allocations: 15.98 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.1398, allocations: 268.9 kB / 0.6831 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.1399, allocations: 42.5 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.14, allocations: 20.8 kB / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.14, allocations: 0 / 0.6832 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.1401, allocations: 63.48 kB / 0.6832 GB, free: 13.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1401, allocations: 4 kB / 0.6832 GB, free: 13.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.1403, allocations: 77.52 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1404, allocations: 102.8 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.1405, allocations: 109.8 kB / 0.6835 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1405, allocations: 29.7 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.1405, allocations: 88.08 kB / 0.6836 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.1405, allocations: 7.906 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1406, allocations: 21.7 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.1407, allocations: 322.8 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.988e-05/0.1407, allocations: 15.98 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.1408, allocations: 26.58 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/0.1408, allocations: 28.84 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1408, allocations: 0 / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.1409, allocations: 69.97 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.141, allocations: 4 kB / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.141, allocations: 0 / 0.6841 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.141, allocations: 4.031 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.984e-05/0.141, allocations: 8 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1411, allocations: 0 / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.1412, allocations: 11.98 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.1412, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.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 7.467e-05/0.1413, allocations: 119.1 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.1413, allocations: 4 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.1413, allocations: 7.484 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1413, allocations: 4 kB / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.1413, allocations: 0 / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1413, allocations: 0 / 0.6842 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.1414, allocations: 173.6 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1415, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.1415, allocations: 7.922 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1415, allocations: 4 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1415, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1415, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1415, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.1416, allocations: 101.1 kB / 0.6845 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.1417, allocations: 81.11 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1417, allocations: 7.984 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1418, allocations: 8 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.1419, allocations: 11.86 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1419, allocations: 4 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.186e-05/0.1419, allocations: 83.28 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1419, allocations: 0 / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001932/0.1421, allocations: 16 kB / 0.6847 GB, free: 11.7 MB / 494.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.000357/0.1425, allocations: 0.6359 MB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.1426, allocations: 32 kB / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1426, allocations: 0 / 0.6854 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/0.1427, allocations: 23.91 kB / 0.6854 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.1428, allocations: 10.03 kB / 0.6854 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009963/0.1438, allocations: 1.169 MB / 0.6865 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.144, allocations: 0.6768 MB / 0.6872 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.292e-05/0.1441, allocations: 11.89 kB / 0.6872 GB, free: 9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.1441, allocations: 15.44 kB / 0.6872 GB, free: 8.984 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1441, allocations: 0 / 0.6872 GB, free: 8.984 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.1608, allocations: 1.776 MB / 0.689 GB, free: 7.379 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.725/6.886, allocations: 9.891 kB / 0.689 GB, free: 7.371 MB / 494.1 MB (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)