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.001246/0.001246, allocations: 108.6 kB / 15.73 MB, free: 76 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.001316/0.001316, allocations: 190.5 kB / 16.66 MB, free: 6.59 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002622/0.002622, allocations: 286.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.032/1.032, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 100.1 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1591, allocations: 86.98 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002604/0.1618, allocations: 1.447 MB / 0.7673 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004224/0.1622, allocations: 199.4 kB / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.1623, allocations: 0 / 0.7675 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.1623, allocations: 7.922 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.1625, allocations: 19.86 kB / 0.7676 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.1627, allocations: 55.16 kB / 0.7676 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.748e-05/0.1628, allocations: 55.84 kB / 0.7677 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.528e-05/0.1629, allocations: 4.281 kB / 0.7677 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.949e-05/0.163, allocations: 35.91 kB / 0.7677 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.163, allocations: 19.92 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1631, allocations: 4 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.1631, allocations: 4 kB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.1631, allocations: 11.98 kB / 0.7677 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.1632, allocations: 31.78 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.776e-05/0.1633, allocations: 47.81 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1633, allocations: 0 / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1633, allocations: 0 / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1633, allocations: 0 / 0.7678 GB, free: 6.965 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.0005507/0.1639, allocations: 351.4 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1639, allocations: 12.62 kB / 0.7682 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.824e-05/0.1639, allocations: 34.73 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.164, allocations: 8.891 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.1641, allocations: 172.3 kB / 0.7684 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1642, allocations: 4.375 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.1642, allocations: 384 / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1643, allocations: 84.75 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1644, allocations: 3.938 kB / 0.7685 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.1644, allocations: 4 kB / 0.7685 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1644, allocations: 0 / 0.7685 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.1644, allocations: 23.97 kB / 0.7685 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.1649, allocations: 272.8 kB / 0.7687 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.165, allocations: 42.5 kB / 0.7688 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.165, allocations: 16.86 kB / 0.7688 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.165, allocations: 8.078 kB / 0.7688 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.1652, allocations: 59.39 kB / 0.7689 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1652, allocations: 0 / 0.7689 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002037/0.1654, allocations: 73.62 kB / 0.7689 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.1655, allocations: 102.8 kB / 0.769 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.1656, allocations: 109.8 kB / 0.7691 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1656, allocations: 25.7 kB / 0.7692 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.1657, allocations: 96.03 kB / 0.7693 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.1657, allocations: 7.938 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.1658, allocations: 21.72 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1659, allocations: 322.8 kB / 0.7696 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.767e-05/0.1659, allocations: 8 kB / 0.7696 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.688e-05/0.166, allocations: 38.56 kB / 0.7696 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.1661, allocations: 24.86 kB / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1661, allocations: 0 / 0.7697 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001051/0.1662, allocations: 57.62 kB / 0.7697 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1662, allocations: 8 kB / 0.7697 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1662, allocations: 0 / 0.7697 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1662, allocations: 0 / 0.7697 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.1663, allocations: 8.438 kB / 0.7697 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1663, allocations: 3.984 kB / 0.7697 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1664, allocations: 15.89 kB / 0.7697 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.1664, allocations: 8.031 kB / 0.7698 GB, free: 4.707 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.426e-05/0.1665, allocations: 122.4 kB / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.1666, allocations: 0 / 0.7699 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.1666, allocations: 7.5 kB / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1666, allocations: 0 / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1666, allocations: 0 / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1666, allocations: 0 / 0.7699 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1668, allocations: 173.6 kB / 0.77 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1668, allocations: 3.938 kB / 0.77 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.1668, allocations: 11.94 kB / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1668, allocations: 0 / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1668, allocations: 0 / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1668, allocations: 3.984 kB / 0.7701 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1668, allocations: 4 kB / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.167, allocations: 93 kB / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.1671, allocations: 89.09 kB / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1671, allocations: 0 / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.1672, allocations: 11.98 kB / 0.7703 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1672, allocations: 4 kB / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1673, allocations: 240 / 0.7703 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.367e-05/0.1673, allocations: 91.27 kB / 0.7703 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1673, allocations: 3.938 kB / 0.7703 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002809/0.1676, allocations: 8 kB / 0.7704 GB, free: 3.996 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.0004916/0.1681, allocations: 0.6397 MB / 0.771 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.1683, allocations: 27.98 kB / 0.771 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.1683, allocations: 4 kB / 0.771 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.719e-05/0.1683, allocations: 15.94 kB / 0.771 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.1685, allocations: 4 kB / 0.771 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1697, allocations: 1.177 MB / 0.7722 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.17, allocations: 0.6807 MB / 0.7728 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.457e-05/0.1701, allocations: 8 kB / 0.7729 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.1701, allocations: 7.438 kB / 0.7729 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.1701, allocations: 0 / 0.7729 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4437/0.6138, allocations: 1.799 MB / 0.7746 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.032/9.646, allocations: 17.27 kB / 0.7746 GB, free: 14.46 MB / 0.5606 GB (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)