Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001927/0.001927, 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.002086/0.002086, allocations: 193 kB / 16.67 MB, free: 6.539 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.529/2.529, allocations: 482.6 MB / 0.755 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 63.89 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2614, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002184/0.2636, allocations: 1.47 MB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000645/0.2643, allocations: 474.8 kB / 1.244 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.2643, allocations: 0 / 1.244 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.889e-05/0.2644, allocations: 7.922 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.2646, allocations: 23.84 kB / 1.244 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.495e-05/0.2646, allocations: 19.98 kB / 1.244 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.2647, allocations: 51.73 kB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.2648, allocations: 7.984 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.2649, allocations: 23.92 kB / 1.244 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.998e-05/0.2649, allocations: 27.91 kB / 1.244 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.265, allocations: 4 kB / 1.244 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.265, allocations: 8 kB / 1.244 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.265, allocations: 4 kB / 1.244 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.265, allocations: 23.86 kB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.387e-05/0.2651, allocations: 43.75 kB / 1.244 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2651, allocations: 4 kB / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.041e-06/0.2652, allocations: 0 / 1.244 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.2652, allocations: 0 / 1.244 GB, free: 7.613 MB / 0.9981 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.0004677/0.2656, allocations: 355.3 kB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2657, allocations: 12.03 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.21e-05/0.2657, allocations: 34.75 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.015e-05/0.2657, allocations: 0.9375 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.2659, allocations: 180.3 kB / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2659, allocations: 4.375 kB / 1.245 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.2659, allocations: 384 / 1.245 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.266, allocations: 57.75 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-06/0.266, allocations: 0 / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.266, allocations: 0 / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.266, allocations: 0 / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.2661, allocations: 27.92 kB / 1.245 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.2664, allocations: 268.9 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/0.2665, allocations: 46.56 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.2665, allocations: 16.86 kB / 1.245 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.2666, allocations: 4.078 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.2667, allocations: 67.33 kB / 1.245 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.2667, allocations: 4 kB / 1.245 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001912/0.2669, allocations: 81.83 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2669, allocations: 55.34 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.382e-05/0.267, allocations: 113.8 kB / 1.245 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2671, allocations: 29.7 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.2671, allocations: 84.12 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.2671, allocations: 19.84 kB / 1.245 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2672, allocations: 21.66 kB / 1.245 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2673, allocations: 322.8 kB / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.2673, allocations: 16.06 kB / 1.246 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.2674, allocations: 8 kB / 1.246 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6e-05/0.2674, allocations: 36.84 kB / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2674, allocations: 0 / 1.246 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001045/0.2675, allocations: 65.64 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.2676, allocations: 9.719 kB / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.2676, allocations: 0 / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.2676, allocations: 0 / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.2676, allocations: 11.94 kB / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.2677, allocations: 4 kB / 1.246 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.2677, allocations: 0 / 1.246 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2677, allocations: 7.984 kB / 1.246 GB, free: 5.453 MB / 0.9981 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.441e-05/0.2678, allocations: 114.3 kB / 1.246 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.2678, allocations: 4 kB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.781e-05/0.2678, allocations: 7.969 kB / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2678, allocations: 0 / 1.246 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2679, allocations: 4 kB / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2679, allocations: 7.984 kB / 1.246 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.268, allocations: 177.5 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.268, allocations: 0 / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.268, allocations: 4 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.268, allocations: 0 / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.2681, allocations: 3.938 kB / 1.246 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2681, allocations: 4.188 kB / 1.246 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2681, allocations: 4.312 kB / 1.246 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.2682, allocations: 105 kB / 1.246 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.2683, allocations: 81.06 kB / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.2683, allocations: 0 / 1.246 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.241e-05/0.2683, allocations: 11.92 kB / 1.246 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.2684, allocations: 4 kB / 1.246 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2684, allocations: 0 / 1.246 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.764e-05/0.2684, allocations: 95.25 kB / 1.246 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2684, allocations: 0 / 1.246 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001698/0.2686, allocations: 12 kB / 1.246 GB, free: 4.73 MB / 0.9981 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0004058/0.269, allocations: 0.6358 MB / 1.247 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.34e-05/0.2691, allocations: 31.98 kB / 1.247 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2691, allocations: 4 kB / 1.247 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.2692, allocations: 16 kB / 1.247 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.2693, allocations: 6.812 kB / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2703, allocations: 1.229 MB / 1.248 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.2706, allocations: 0.6846 MB / 1.249 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.454e-05/0.2706, allocations: 7.984 kB / 1.249 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.2707, allocations: 15.44 kB / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.2707, allocations: 0 / 1.249 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.274/6.545, allocations: 1.513 MB / 1.251 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/20.88, allocations: 4.484 kB / 1.251 GB, free: 0.5938 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)