Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001646/0.001646, allocations: 112.5 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.001725/0.001725, allocations: 190.3 kB / 16.67 MB, free: 6.57 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.369/2.369, allocations: 437.1 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.24, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002165/0.2422, allocations: 1.442 MB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003648/0.2426, allocations: 195.3 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.2427, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.2427, allocations: 0 / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.2429, allocations: 27.84 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.243, allocations: 63.09 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.2431, allocations: 55.83 kB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.622e-05/0.2432, allocations: 12 kB / 1.168 GB, free: 5.465 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.622e-05/0.2433, allocations: 23.92 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.2433, allocations: 19.92 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2434, allocations: 4 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.2434, allocations: 4 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.447e-05/0.2434, allocations: 15.97 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.2434, allocations: 19.92 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.161e-05/0.2435, allocations: 52.08 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2435, allocations: 0 / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2436, allocations: 11.88 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2436, allocations: 4 kB / 1.168 GB, free: 5.312 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.0004633/0.244, allocations: 351.3 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.2441, allocations: 8.031 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.2441, allocations: 38.75 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.2441, allocations: 4.938 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2443, allocations: 172.3 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2443, allocations: 384 / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.2443, allocations: 4.375 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.2444, allocations: 76.81 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2444, allocations: 3.938 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.2445, allocations: 4 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2445, allocations: 3.984 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.651e-05/0.2445, allocations: 15.94 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.2448, allocations: 276.8 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.109e-05/0.2449, allocations: 38.58 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.245, allocations: 20.94 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-06/0.245, allocations: 0 / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.2451, allocations: 63.33 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2451, allocations: 0 / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.2453, allocations: 69.67 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.2454, allocations: 106.8 kB / 1.169 GB, free: 3.863 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.72e-05/0.2454, allocations: 109.9 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2455, allocations: 25.7 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.2455, allocations: 88.08 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.2455, allocations: 11.95 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.2456, allocations: 21.7 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2457, allocations: 314.8 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.2457, allocations: 15.94 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.2458, allocations: 34.56 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.715e-05/0.2458, allocations: 24.86 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2459, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.716e-05/0.246, allocations: 66.08 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.246, allocations: 4 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.246, allocations: 7.938 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.246, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.2461, allocations: 15.92 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.2461, allocations: 0 / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.831e-05/0.2462, allocations: 12.02 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.2462, allocations: 4 kB / 1.17 GB, free: 3.07 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.002e-05/0.2463, allocations: 113.8 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.2463, allocations: 7.938 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.593e-05/0.2463, allocations: 3.688 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2463, allocations: 3.984 kB / 1.17 GB, free: 2.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2463, allocations: 4 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2463, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.2465, allocations: 181.5 kB / 1.17 GB, free: 2.699 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2465, allocations: 4 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.2465, allocations: 4 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2465, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2465, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2465, allocations: 3.984 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2465, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.2467, allocations: 96.95 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.2467, allocations: 85.09 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.2467, allocations: 8 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.2468, allocations: 7.984 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.2469, allocations: 3.984 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.2469, allocations: 4 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.2469, allocations: 83.28 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2469, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001748/0.2471, allocations: 16 kB / 1.171 GB, free: 2.352 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.0003983/0.2475, allocations: 0.6358 MB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.788e-05/0.2476, allocations: 31.98 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2476, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.2477, allocations: 15.98 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.2478, allocations: 4 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/0.2488, allocations: 1.173 MB / 1.172 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2491, allocations: 0.6847 MB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.2491, allocations: 11.88 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.2491, allocations: 19.42 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2491, allocations: 0 / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.424/1.673, allocations: 1.769 MB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/15.27, allocations: 7.812 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)