Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ConvertTimePositiveStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_10_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.004703/0.004703, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001588/0.001588, allocations: 200.2 kB / 16.68 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.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.366/2.366, allocations: 437.1 MB / 0.7106 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 59.91 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2378, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002299/0.2402, allocations: 1.464 MB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003913/0.2406, allocations: 187.4 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.2406, allocations: 0 / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.2407, allocations: 0 / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.2408, allocations: 27.86 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.241, allocations: 60.72 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.2411, allocations: 51.84 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.18e-05/0.2412, allocations: 11.98 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.065e-05/0.2413, allocations: 23.92 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.2413, allocations: 23.91 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.2414, allocations: 4 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.57e-05/0.2414, allocations: 4 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.2414, allocations: 7.984 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.2415, allocations: 27.88 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.582e-05/0.2416, allocations: 48.08 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2416, allocations: 4 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.885e-06/0.2416, allocations: 3.984 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.2416, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 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.0004936/0.2421, allocations: 351.3 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2421, allocations: 8.031 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.2422, allocations: 34.75 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.2422, allocations: 4.875 kB / 1.168 GB, free: 4.848 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2423, allocations: 180.3 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.2424, allocations: 384 / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.2424, allocations: 12.36 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.2425, allocations: 72.81 kB / 1.169 GB, free: 4.535 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2425, allocations: 3.938 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.2425, allocations: 4 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2426, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.254e-05/0.2426, allocations: 19.92 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.243, allocations: 276.9 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.005e-05/0.2431, allocations: 38.56 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.2431, allocations: 12.86 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.2431, allocations: 0 / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.2433, allocations: 71.42 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2433, allocations: 3.938 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001946/0.2435, allocations: 73.67 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/0.2435, allocations: 102.8 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.2436, allocations: 105.8 kB / 1.169 GB, free: 3.723 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.2437, allocations: 29.7 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.2437, allocations: 84.09 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.2437, allocations: 15.92 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.2438, allocations: 21.72 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2439, allocations: 330.7 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.2439, allocations: 8 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.244, allocations: 34.5 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.021e-05/0.244, allocations: 24.86 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2441, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001028/0.2442, allocations: 65.64 kB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.2442, allocations: 4 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2442, allocations: 4.031 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.2442, allocations: 4.438 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.2443, allocations: 7.938 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.2443, allocations: 0 / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2444, allocations: 11.98 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.2444, allocations: 4 kB / 1.17 GB, free: 3.043 MB / 0.92 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 8.798e-05/0.2445, allocations: 121.8 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2445, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.2445, allocations: 7.5 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.2445, allocations: 4 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2445, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2446, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.2447, allocations: 177.5 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2447, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.2447, allocations: 4 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2447, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.2447, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2447, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2448, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.2449, allocations: 109.1 kB / 1.17 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.245, allocations: 85.09 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.245, allocations: 4 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.2451, allocations: 7.984 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.2451, allocations: 4 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.2451, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.2452, allocations: 87.27 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2452, allocations: 4 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001837/0.2454, allocations: 15.94 kB / 1.171 GB, free: 2.324 MB / 0.92 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.0004253/0.2458, allocations: 0.6412 MB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.2459, allocations: 27.98 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2459, allocations: 0 / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.246, allocations: 23.94 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.2461, allocations: 2.031 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.2471, allocations: 1.176 MB / 1.172 GB, free: 352 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.2474, allocations: 0.6768 MB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.2475, allocations: 4 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.2475, allocations: 11.44 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.2475, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.16/1.408, allocations: 1.802 MB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/18.64, allocations: 8 kB / 1.175 GB, free: 14 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)