Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_10_Buildings_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.007769/0.007769, allocations: 101.1 kB / 15.73 MB, free: 6.055 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.002083/0.002083, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.692/1.692, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002957/0.002957, allocations: 63.89 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8293, allocations: 151.6 MB / 1.166 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.003234/0.8326, allocations: 1.462 MB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004831/0.8331, allocations: 191.3 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.8332, allocations: 4 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.8333, allocations: 7.984 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.8335, allocations: 23.86 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.8337, allocations: 61.09 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.8338, allocations: 55.78 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.81e-05/0.8339, allocations: 11.98 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.798e-05/0.834, allocations: 19.98 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.8341, allocations: 19.92 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.8341, allocations: 4 kB / 1.168 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.8341, allocations: 8 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.8342, allocations: 23.91 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.8342, allocations: 15.92 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.8344, allocations: 55.66 kB / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8344, allocations: 0 / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8344, allocations: 0 / 1.168 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8344, allocations: 0 / 1.168 GB, free: 1.82 MB / 0.8887 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.0005571/0.8349, allocations: 347.2 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.835, allocations: 12.03 kB / 1.168 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.8351, allocations: 42.73 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.8351, allocations: 4.938 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.8353, allocations: 164.3 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.8353, allocations: 4.375 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.8353, allocations: 384 / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.8355, allocations: 76.81 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8355, allocations: 3.938 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.8355, allocations: 0 / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8355, allocations: 4 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.027e-05/0.8356, allocations: 19.92 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.836, allocations: 276.8 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.8361, allocations: 42.56 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.8362, allocations: 16.94 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.8362, allocations: 3.938 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.8364, allocations: 67.33 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.8364, allocations: 0 / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002161/0.8366, allocations: 69.69 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.8367, allocations: 106.8 kB / 1.169 GB, free: 380 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.273e-05/0.8368, allocations: 105.9 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.8368, allocations: 29.64 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.8369, allocations: 92.08 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.8369, allocations: 11.95 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.837, allocations: 17.72 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.8371, allocations: 322.8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.8372, allocations: 11.94 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.8373, allocations: 34.94 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.75e-05/0.8373, allocations: 24.86 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.8373, allocations: 0 / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001097/0.8375, allocations: 69.86 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.8375, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.8375, allocations: 4 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.8375, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.8376, allocations: 15.91 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.8376, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.8377, allocations: 8 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.8377, allocations: 3.984 kB / 1.17 GB, free: 15.58 MB / 0.9044 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 0.0001051/0.8378, allocations: 117.8 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.8378, allocations: 4 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.8379, allocations: 7.5 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.8379, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.8379, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8379, allocations: 0 / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.8381, allocations: 173.6 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.8381, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.8381, allocations: 4 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.8381, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.8381, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8381, allocations: 7.938 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8381, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.8383, allocations: 100.9 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.8384, allocations: 89.09 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.8384, allocations: 0 / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.8385, allocations: 12.05 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.8386, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.8386, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.8386, allocations: 91.27 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8386, allocations: 4 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002048/0.8389, allocations: 15.94 kB / 1.171 GB, free: 14.86 MB / 0.9044 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.0005239/0.8394, allocations: 0.6319 MB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.8395, allocations: 35.92 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.8395, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.316e-05/0.8396, allocations: 16 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.8397, allocations: 1.125 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.841, allocations: 1.176 MB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.8413, allocations: 0.6768 MB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.72e-05/0.8414, allocations: 8 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.8414, allocations: 11.44 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of SimCode: time 3.81e-07/0.8415, allocations: 0 / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.8651, allocations: 1.789 MB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.88, allocations: 13.2 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)