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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 105.6 kB / 16.39 MB, free: 6.383 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.001369/0.001369, allocations: 190.6 kB / 17.33 MB, free: 5.844 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.42/1.42, allocations: 222.9 MB / 241 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.002599/0.002599, allocations: 288.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002678/0.002678, allocations: 103.8 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4239, allocations: 86.97 MB / 0.7671 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002941/0.4269, allocations: 1.441 MB / 0.7685 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009692/0.4278, allocations: 0.516 MB / 0.769 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.4279, allocations: 0 / 0.769 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.4279, allocations: 0 / 0.769 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.4281, allocations: 27.84 kB / 0.769 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.4282, allocations: 31.91 kB / 0.769 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.936e-05/0.4283, allocations: 47.84 kB / 0.7691 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.4284, allocations: 7.984 kB / 0.7691 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.4285, allocations: 19.94 kB / 0.7691 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.4286, allocations: 31.83 kB / 0.7691 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.4286, allocations: 4 kB / 0.7691 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.4286, allocations: 4 kB / 0.7691 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.4286, allocations: 15.92 kB / 0.7691 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.4287, allocations: 23.88 kB / 0.7692 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.4288, allocations: 51.45 kB / 0.7692 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4288, allocations: 0 / 0.7692 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4288, allocations: 0 / 0.7692 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.4288, allocations: 0 / 0.7692 GB, free: 1.816 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.0006312/0.4294, allocations: 353.8 kB / 0.7696 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.4294, allocations: 8.031 kB / 0.7696 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.4295, allocations: 12.89 kB / 0.7696 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4296, allocations: 160.4 kB / 0.7697 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.4297, allocations: 12.36 kB / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.4297, allocations: 384 / 0.7697 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.4298, allocations: 57.98 kB / 0.7698 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.4298, allocations: 0 / 0.7698 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.4298, allocations: 7.938 kB / 0.7698 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4298, allocations: 0 / 0.7698 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.4299, allocations: 23.98 kB / 0.7698 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.4303, allocations: 276.8 kB / 0.7701 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.4306, allocations: 62.61 kB / 0.7702 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.4306, allocations: 20.84 kB / 0.7702 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.4306, allocations: 4 kB / 0.7702 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.4308, allocations: 75.34 kB / 0.7702 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.4308, allocations: 0 / 0.7702 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0002566/0.4311, allocations: 89.66 kB / 0.7703 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.4311, allocations: 55.34 kB / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.405e-05/0.4312, allocations: 97.86 kB / 0.7705 GB, free: 344 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.4312, allocations: 33.7 kB / 0.7705 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.996e-05/0.4313, allocations: 84.12 kB / 0.7706 GB, free: 216 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-05/0.4313, allocations: 23.8 kB / 0.7706 GB, free: 192 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.4314, allocations: 21.7 kB / 0.7706 GB, free: 164 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4315, allocations: 318.8 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.173e-05/0.4316, allocations: 15.98 kB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.303e-05/0.4316, allocations: 16 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.31e-05/0.4317, allocations: 36.84 kB / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4317, allocations: 0 / 0.771 GB, free: 15.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001247/0.4318, allocations: 73.7 kB / 0.7711 GB, free: 15.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.4318, allocations: 4 kB / 0.7711 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4318, allocations: 4.188 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.4318, allocations: 3.938 kB / 0.7711 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.4319, allocations: 19.98 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4319, allocations: 0 / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.432, allocations: 4 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.432, allocations: 0 / 0.7711 GB, free: 15.66 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 9.792e-05/0.4321, allocations: 124.2 kB / 0.7712 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.4321, allocations: 7.953 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.4323, allocations: 101.8 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4323, allocations: 4 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4323, allocations: 7.984 kB / 0.7713 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4323, allocations: 0 / 0.7713 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.4325, allocations: 185.5 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4325, allocations: 0 / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.4325, allocations: 12 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4325, allocations: 4 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.4325, allocations: 3.938 kB / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4325, allocations: 0 / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4325, allocations: 0 / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.4327, allocations: 124.9 kB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.4328, allocations: 85.09 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.4328, allocations: 0 / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.4329, allocations: 8 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.4329, allocations: 7.984 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.4329, allocations: 0 / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.433, allocations: 83.28 kB / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.433, allocations: 0 / 0.7718 GB, free: 14.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001909/0.4332, allocations: 15.95 kB / 0.7719 GB, free: 14.8 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.0001138/0.4333, allocations: 111.2 kB / 0.772 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.4334, allocations: 51.98 kB / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4334, allocations: 0 / 0.772 GB, free: 14.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.4335, allocations: 27.98 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.4336, allocations: 8.75 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.434, allocations: 147.9 kB / 0.7722 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.4343, allocations: 0.6846 MB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.13e-05/0.4343, allocations: 11.73 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.4344, allocations: 15.38 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.4344, allocations: 0 / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of Templates: time 0.003105/0.4375, allocations: 0.7033 MB / 0.7736 GB, free: 13.02 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)