Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.005934/0.005934, allocations: 102.8 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.001062/0.001062, allocations: 194.4 kB / 16.67 MB, free: 5.973 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002162/0.002162, allocations: 308.1 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9147/0.9147, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 99.86 kB / 0.681 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.4677, allocations: 86.97 MB / 0.7659 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00243/0.4702, allocations: 1.487 MB / 0.7674 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007191/0.471, allocations: 480.6 kB / 0.7678 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.471, allocations: 0 / 0.7678 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.471, allocations: 0 / 0.7678 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.4713, allocations: 27.78 kB / 0.7678 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 8.275e-05/0.4714, allocations: 11.98 kB / 0.7679 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.554e-05/0.4715, allocations: 51.84 kB / 0.7679 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.855e-05/0.4716, allocations: 8 kB / 0.7679 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.4717, allocations: 35.84 kB / 0.7679 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.634e-05/0.4718, allocations: 19.92 kB / 0.768 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.4718, allocations: 4 kB / 0.768 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.4718, allocations: 4 kB / 0.768 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.4718, allocations: 11.92 kB / 0.768 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.4719, allocations: 23.92 kB / 0.768 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.173e-05/0.472, allocations: 39.88 kB / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.472, allocations: 0 / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.213e-06/0.472, allocations: 0 / 0.768 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.472, allocations: 0 / 0.768 GB, free: 1.77 MB / 0.5294 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.0005218/0.4725, allocations: 355.2 kB / 0.7684 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4726, allocations: 12.03 kB / 0.7684 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.4726, allocations: 42.67 kB / 0.7684 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.4727, allocations: 4.938 kB / 0.7684 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.4728, allocations: 172.2 kB / 0.7686 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4728, allocations: 384 / 0.7686 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.4728, allocations: 4.375 kB / 0.7686 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.4729, allocations: 53.8 kB / 0.7687 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.473, allocations: 4 kB / 0.7687 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.473, allocations: 4 kB / 0.7687 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.473, allocations: 0 / 0.7687 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.617e-05/0.473, allocations: 19.98 kB / 0.7687 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.4734, allocations: 276.8 kB / 0.769 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.4735, allocations: 42.56 kB / 0.769 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.4735, allocations: 20.94 kB / 0.769 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.4735, allocations: 4 kB / 0.769 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.4737, allocations: 71.27 kB / 0.7691 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.4737, allocations: 0 / 0.7691 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.000204/0.4739, allocations: 89.58 kB / 0.7692 GB, free: 448 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.474, allocations: 51.41 kB / 0.7692 GB, free: 384 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.474, allocations: 113.8 kB / 0.7693 GB, free: 260 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4741, allocations: 25.7 kB / 0.7694 GB, free: 228 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.4741, allocations: 88.14 kB / 0.7694 GB, free: 136 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.4741, allocations: 15.75 kB / 0.7694 GB, free: 120 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.4742, allocations: 21.7 kB / 0.7695 GB, free: 92 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4743, allocations: 318.8 kB / 0.7698 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.472e-05/0.4743, allocations: 12 kB / 0.7698 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.4744, allocations: 15.98 kB / 0.7698 GB, free: 15.74 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.4744, allocations: 28.8 kB / 0.7698 GB, free: 15.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4744, allocations: 0 / 0.7698 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.425e-05/0.4745, allocations: 65.69 kB / 0.7699 GB, free: 15.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.4746, allocations: 8 kB / 0.7699 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.4746, allocations: 0 / 0.7699 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.4746, allocations: 0 / 0.7699 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.953e-05/0.4746, allocations: 11.98 kB / 0.7699 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.4747, allocations: 3.938 kB / 0.7699 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.842e-05/0.4747, allocations: 4 kB / 0.7699 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.4747, allocations: 4 kB / 0.7699 GB, free: 15.61 MB / 0.545 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.909e-05/0.4748, allocations: 120.1 kB / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.4748, allocations: 7.906 kB / 0.77 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.4749, allocations: 11.95 kB / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4749, allocations: 4 kB / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4749, allocations: 0 / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4749, allocations: 0 / 0.7701 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.475, allocations: 169.6 kB / 0.7702 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.475, allocations: 448 / 0.7702 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.475, allocations: 4 kB / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.4751, allocations: 3.984 kB / 0.7702 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4751, allocations: 8 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4751, allocations: 4 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4751, allocations: 0 / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/0.4752, allocations: 97 kB / 0.7703 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.4753, allocations: 85 kB / 0.7704 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4753, allocations: 4 kB / 0.7704 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.366e-05/0.4753, allocations: 0 / 0.7704 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4754, allocations: 11.98 kB / 0.7704 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.4754, allocations: 0 / 0.7704 GB, free: 15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.4755, allocations: 91.28 kB / 0.7705 GB, free: 14.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4755, allocations: 3.938 kB / 0.7705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001768/0.4756, allocations: 8 kB / 0.7705 GB, free: 14.89 MB / 0.545 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.0003788/0.476, allocations: 0.632 MB / 0.7711 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.4761, allocations: 39.92 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4762, allocations: 4 kB / 0.7712 GB, free: 14.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.069e-05/0.4762, allocations: 16 kB / 0.7712 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.4763, allocations: 10.36 kB / 0.7712 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.4774, allocations: 1.221 MB / 0.7724 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.4776, allocations: 0.6846 MB / 0.7731 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.693e-05/0.4776, allocations: 7.938 kB / 0.7731 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.4777, allocations: 15.44 kB / 0.7731 GB, free: 12.13 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/0.4777, allocations: 0 / 0.7731 GB, free: 12.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.4948, allocations: 1.574 MB / 0.7746 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.722, allocations: 4.438 kB / 0.7746 GB, free: 10.74 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)