Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.007926/0.007926, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.00181/0.00181, allocations: 191 kB / 16.67 MB, free: 5.961 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002206/0.002206, allocations: 290.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9499/0.9499, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 96.17 kB / 0.681 GB, free: 7.441 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4613, allocations: 86.98 MB / 0.7659 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002751/0.4641, allocations: 1.44 MB / 0.7673 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009092/0.4651, allocations: 0.5161 MB / 0.7678 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.925e-05/0.4652, allocations: 0 / 0.7678 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.4652, allocations: 3.938 kB / 0.7678 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.4655, allocations: 19.86 kB / 0.7678 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.4656, allocations: 31.89 kB / 0.7679 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.4657, allocations: 39.92 kB / 0.7679 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.4658, allocations: 12 kB / 0.7679 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.466, allocations: 31.84 kB / 0.768 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.83e-05/0.4661, allocations: 23.91 kB / 0.768 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.4661, allocations: 4 kB / 0.768 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.4661, allocations: 4 kB / 0.768 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.912e-05/0.4661, allocations: 15.97 kB / 0.768 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.4662, allocations: 15.94 kB / 0.768 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.4663, allocations: 39.88 kB / 0.7681 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4663, allocations: 0 / 0.7681 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4663, allocations: 3.938 kB / 0.7681 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4663, allocations: 4 kB / 0.7681 GB, free: 1.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006077/0.4669, allocations: 359.4 kB / 0.7684 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.467, allocations: 8.031 kB / 0.7684 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.467, allocations: 30.75 kB / 0.7684 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.4671, allocations: 12.78 kB / 0.7685 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4672, allocations: 172.3 kB / 0.7686 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4673, allocations: 8.375 kB / 0.7686 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.4673, allocations: 4.375 kB / 0.7686 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4674, allocations: 61.78 kB / 0.7687 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4674, allocations: 0 / 0.7687 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.4675, allocations: 4 kB / 0.7687 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4675, allocations: 4 kB / 0.7687 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.495e-05/0.4675, allocations: 23.98 kB / 0.7687 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.4679, allocations: 280.7 kB / 0.769 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.4682, allocations: 62.69 kB / 0.769 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.4682, allocations: 24.84 kB / 0.7691 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.4683, allocations: 0 / 0.7691 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.4685, allocations: 75.31 kB / 0.7691 GB, free: 348 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4685, allocations: 0 / 0.7691 GB, free: 348 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0002603/0.4688, allocations: 89.58 kB / 0.7692 GB, free: 252 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4688, allocations: 59.41 kB / 0.7693 GB, free: 180 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.4689, allocations: 101.8 kB / 0.7694 GB, free: 68 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.469, allocations: 29.7 kB / 0.7694 GB, free: 32 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.469, allocations: 80.14 kB / 0.7695 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.4691, allocations: 15.88 kB / 0.7695 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.4691, allocations: 25.7 kB / 0.7695 GB, free: 15.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4692, allocations: 314.8 kB / 0.7698 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.4693, allocations: 19.98 kB / 0.7698 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.148e-05/0.4693, allocations: 19.94 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.047e-05/0.4694, allocations: 36.84 kB / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4694, allocations: 0 / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001302/0.4695, allocations: 73.59 kB / 0.77 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4696, allocations: 4 kB / 0.77 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.4696, allocations: 0 / 0.77 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4696, allocations: 0 / 0.77 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.4697, allocations: 15.92 kB / 0.77 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4697, allocations: 0 / 0.77 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.4698, allocations: 7.938 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.4698, allocations: 15.92 kB / 0.77 GB, free: 15.39 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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.289e-05/0.4699, allocations: 113.8 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.4699, allocations: 4 kB / 0.7701 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.4701, allocations: 105.5 kB / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.4701, allocations: 4.188 kB / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4702, allocations: 0 / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4702, allocations: 3.984 kB / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4703, allocations: 189.5 kB / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4703, allocations: 4 kB / 0.7704 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.4704, allocations: 8.25 kB / 0.7704 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4704, allocations: 4 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.4704, allocations: 4 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4704, allocations: 0 / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4704, allocations: 3.984 kB / 0.7704 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.4706, allocations: 117 kB / 0.7705 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.4707, allocations: 85.02 kB / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.4707, allocations: 8 kB / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.4708, allocations: 4 kB / 0.7706 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.4708, allocations: 7.984 kB / 0.7706 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.4708, allocations: 0 / 0.7706 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.4709, allocations: 87.27 kB / 0.7707 GB, free: 14.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4709, allocations: 0 / 0.7707 GB, free: 14.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001905/0.4711, allocations: 12 kB / 0.7707 GB, free: 14.54 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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.000479/0.4716, allocations: 0.6592 MB / 0.7714 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.4717, allocations: 44.27 kB / 0.7714 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4717, allocations: 3.938 kB / 0.7714 GB, free: 13.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.4718, allocations: 35.92 kB / 0.7715 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.472, allocations: 4.75 kB / 0.7715 GB, free: 13.76 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.4732, allocations: 1.231 MB / 0.7727 GB, free: 12.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.4735, allocations: 0.6807 MB / 0.7733 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.4736, allocations: 15.73 kB / 0.7734 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.4736, allocations: 15.44 kB / 0.7734 GB, free: 11.71 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4736, allocations: 0 / 0.7734 GB, free: 11.71 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.4926, allocations: 1.683 MB / 0.775 GB, free: 10.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.701, allocations: 448 / 0.775 GB, free: 10.21 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)