Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_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.0007358/0.0007358, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004075/0.004075, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.191/1.191, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.357/2.357, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 14.5 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2395, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001307/0.2409, allocations: 1.182 MB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003307/0.2412, allocations: 187.5 kB / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.2412, allocations: 0 / 1.06 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.2413, allocations: 4 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.2414, allocations: 15.92 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.2416, allocations: 47.94 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.2417, allocations: 59.77 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.2417, allocations: 8 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.2418, allocations: 19.92 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.586e-05/0.2419, allocations: 15.92 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.2419, allocations: 7.984 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.584e-05/0.2419, allocations: 8 kB / 1.06 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.2419, allocations: 11.92 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.242, allocations: 41.64 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.985e-05/0.242, allocations: 48.06 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.242, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2421, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.655e-06/0.2421, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 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.0003825/0.2424, allocations: 339.5 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.2425, allocations: 12.03 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.2425, allocations: 38.75 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.2426, allocations: 4.844 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.876e-05/0.2427, allocations: 172.4 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.2427, allocations: 384 / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.2427, allocations: 4.375 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.2428, allocations: 76.75 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2428, allocations: 3.938 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.2428, allocations: 8 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2428, allocations: 0 / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.789e-05/0.2429, allocations: 19.98 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.2432, allocations: 276.8 kB / 1.061 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.2433, allocations: 38.56 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.2433, allocations: 20.86 kB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.2433, allocations: 0 / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/0.2434, allocations: 59.48 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.2435, allocations: 0 / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001612/0.2436, allocations: 77.55 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2437, allocations: 106.8 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.62e-05/0.2437, allocations: 109.8 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.2438, allocations: 29.7 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.2438, allocations: 87.98 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.2438, allocations: 15.84 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.2439, allocations: 13.7 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.441e-05/0.2439, allocations: 314.8 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.582e-05/0.244, allocations: 12 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.244, allocations: 34.56 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/0.2441, allocations: 28.83 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2441, allocations: 4 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.882e-05/0.2442, allocations: 57.69 kB / 1.062 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.2442, allocations: 5.562 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.2442, allocations: 0 / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/0.2442, allocations: 0 / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.712e-05/0.2443, allocations: 11.98 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.2443, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.2444, allocations: 14.88 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.2444, allocations: 3.984 kB / 1.062 GB, free: 0.9609 MB / 0.8106 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 7.018e-05/0.2445, allocations: 117.8 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.2445, allocations: 11.84 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.2445, allocations: 7.5 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2445, allocations: 0 / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2445, allocations: 0 / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2445, allocations: 0 / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.2447, allocations: 178 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2447, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.2447, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2447, allocations: 8 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.2447, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2447, allocations: 4 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2447, allocations: 192 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.2448, allocations: 93.03 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.2449, allocations: 92.94 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.2449, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.245, allocations: 21.95 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.2451, allocations: 4 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.2451, allocations: 3.938 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.565e-05/0.2451, allocations: 87.27 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2451, allocations: 0 / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001771/0.2453, allocations: 12 kB / 1.063 GB, free: 240 kB / 0.8106 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.0003358/0.2456, allocations: 0.6281 MB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.157e-05/0.2457, allocations: 31.92 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2457, allocations: 3.938 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.2458, allocations: 12 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.2459, allocations: 8 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008488/0.2468, allocations: 1.175 MB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.247, allocations: 0.6848 MB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.247, allocations: 7.984 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.247, allocations: 11.44 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.247, allocations: 0 / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2362/0.4832, allocations: 1.563 MB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003008/0.4836, allocations: 249.9 kB / 1.067 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.305, allocations: 0 / 1.067 GB, free: 11.94 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)