Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001544/0.001544, allocations: 191.9 kB / 16.14 MB, free: 6.707 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001955/0.001955, allocations: 290.5 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8875/0.8875, allocations: 169.2 MB / 0.4977 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 98.03 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1282, allocations: 86.98 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002291/0.1305, allocations: 1.506 MB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000334/0.1309, allocations: 184.6 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.1309, allocations: 0 / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.1309, allocations: 5.344 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.1311, allocations: 23.91 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.1313, allocations: 43.22 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.01e-05/0.1313, allocations: 59.78 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.1314, allocations: 12.64 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.1315, allocations: 20.7 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.081e-05/0.1315, allocations: 24.53 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1316, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.875e-05/0.1316, allocations: 5.969 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.1316, allocations: 19.86 kB / 0.6814 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.802e-05/0.1316, allocations: 15.92 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.689e-05/0.1317, allocations: 51.86 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1317, allocations: 0 / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1317, allocations: 7.938 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1318, allocations: 0 / 0.6815 GB, free: 15.11 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.0004293/0.1322, allocations: 347.4 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1322, allocations: 8.031 kB / 0.6818 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.1323, allocations: 38.75 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.1323, allocations: 0.9375 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.833e-05/0.1324, allocations: 168.3 kB / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1324, allocations: 4.375 kB / 0.682 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1324, allocations: 8.359 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1326, allocations: 76.77 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1326, allocations: 11.92 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1326, allocations: 0 / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.1326, allocations: 0 / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.1327, allocations: 12 kB / 0.6821 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.133, allocations: 276.9 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.067e-05/0.133, allocations: 42.61 kB / 0.6824 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.1331, allocations: 20.78 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.1331, allocations: 0 / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.1332, allocations: 59.39 kB / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1332, allocations: 0 / 0.6825 GB, free: 13.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001796/0.1334, allocations: 85.52 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.1335, allocations: 106.8 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/0.1335, allocations: 105.8 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1336, allocations: 25.7 kB / 0.6828 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.1336, allocations: 84.08 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.1336, allocations: 15.89 kB / 0.6829 GB, free: 13.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.1337, allocations: 21.7 kB / 0.6829 GB, free: 13.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.308e-05/0.1338, allocations: 318.8 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.1338, allocations: 12 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.7e-05/0.1339, allocations: 34.56 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.1339, allocations: 28.84 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1339, allocations: 0 / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.144e-05/0.134, allocations: 61.55 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.134, allocations: 4 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.134, allocations: 3.984 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.1341, allocations: 4 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.1341, allocations: 8.031 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1341, allocations: 0 / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.1342, allocations: 8.422 kB / 0.6834 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1343, allocations: 4 kB / 0.6834 GB, free: 12.88 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.587e-05/0.1343, allocations: 123.1 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.1344, allocations: 3.938 kB / 0.6835 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.1344, allocations: 7.5 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1344, allocations: 8 kB / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.1344, allocations: 0 / 0.6835 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1344, allocations: 8.172 kB / 0.6835 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.1345, allocations: 165.6 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1345, allocations: 0 / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.1346, allocations: 11.92 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1346, allocations: 0 / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1346, allocations: 11.92 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1346, allocations: 0 / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1346, allocations: 0 / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.1347, allocations: 96.97 kB / 0.6838 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1348, allocations: 85.09 kB / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.1348, allocations: 0 / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1349, allocations: 7.984 kB / 0.6839 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.1349, allocations: 7.984 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.135, allocations: 4 kB / 0.6839 GB, free: 12.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.673e-05/0.135, allocations: 79.28 kB / 0.684 GB, free: 12.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.135, allocations: 0 / 0.684 GB, free: 12.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001842/0.1352, allocations: 16 kB / 0.684 GB, free: 12.16 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.00034/0.1355, allocations: 0.6357 MB / 0.6846 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.298e-05/0.1356, allocations: 27.98 kB / 0.6846 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1356, allocations: 0 / 0.6846 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.039e-05/0.1357, allocations: 23.92 kB / 0.6847 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.1358, allocations: 4 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008785/0.1367, allocations: 1.178 MB / 0.6858 GB, free: 10.17 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.1369, allocations: 0.6832 MB / 0.6865 GB, free: 9.465 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.296e-05/0.137, allocations: 7.938 kB / 0.6865 GB, free: 9.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.137, allocations: 19.36 kB / 0.6865 GB, free: 9.438 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.137, allocations: 0 / 0.6865 GB, free: 9.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2461/0.3831, allocations: 1.618 MB / 0.6881 GB, free: 8.012 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/0.3835, allocations: 255.2 kB / 0.6883 GB, free: 7.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.243, allocations: 7.094 kB / 0.6883 GB, free: 7.758 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)