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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 102.5 kB / 16.4 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 194.8 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002648/0.002648, allocations: 288.7 kB / 297.5 MB, free: 12.36 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.215/1.215, allocations: 178.5 MB / 0.5159 GB, free: 12.47 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002865/0.002865, allocations: 99.84 kB / 0.7053 GB, free: 11.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3889, allocations: 89.13 MB / 0.7923 GB, free: 2.125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002105/0.391, allocations: 1.443 MB / 0.7937 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006719/0.3917, allocations: 0.5101 MB / 0.7942 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.3917, allocations: 0 / 0.7942 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.037e-05/0.3918, allocations: 9.016 kB / 0.7942 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.392, allocations: 16.45 kB / 0.7942 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.549e-05/0.3921, allocations: 33.83 kB / 0.7943 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.3922, allocations: 43.92 kB / 0.7943 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.3922, allocations: 20.62 kB / 0.7943 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.308e-05/0.3923, allocations: 26.34 kB / 0.7944 GB, free: 500 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.3924, allocations: 23.77 kB / 0.7944 GB, free: 484 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.3924, allocations: 7.375 kB / 0.7944 GB, free: 480 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.3924, allocations: 3.938 kB / 0.7944 GB, free: 480 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.3925, allocations: 10.33 kB / 0.7944 GB, free: 472 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.619e-05/0.3925, allocations: 29.25 kB / 0.7944 GB, free: 448 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.833e-05/0.3926, allocations: 39.22 kB / 0.7945 GB, free: 424 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3926, allocations: 0 / 0.7945 GB, free: 424 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3926, allocations: 0 / 0.7945 GB, free: 424 kB / 0.545 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.3926, allocations: 5.5 kB / 0.7945 GB, free: 420 kB / 0.545 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.0004813/0.3931, allocations: 350.9 kB / 0.7948 GB, free: 44 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3932, allocations: 9.25 kB / 0.7948 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.3932, allocations: 7.766 kB / 0.7948 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.3933, allocations: 169.9 kB / 0.795 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3934, allocations: 2.938 kB / 0.795 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3934, allocations: 6.938 kB / 0.795 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3935, allocations: 60.83 kB / 0.795 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3936, allocations: 0 / 0.795 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.3936, allocations: 1.469 kB / 0.7951 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3936, allocations: 0 / 0.7951 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.292e-05/0.3937, allocations: 28.41 kB / 0.7951 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.394, allocations: 278.2 kB / 0.7953 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.3943, allocations: 65.78 kB / 0.7954 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.3943, allocations: 25.16 kB / 0.7954 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.3944, allocations: 1.719 kB / 0.7954 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.3945, allocations: 69.69 kB / 0.7955 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3945, allocations: 0 / 0.7955 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002355/0.3948, allocations: 91.36 kB / 0.7956 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.3948, allocations: 56.78 kB / 0.7956 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.3949, allocations: 104.6 kB / 0.7957 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3949, allocations: 25.7 kB / 0.7958 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.395, allocations: 85.2 kB / 0.7958 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.395, allocations: 19.17 kB / 0.7959 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.3951, allocations: 22.33 kB / 0.7959 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3952, allocations: 319.9 kB / 0.7962 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.3953, allocations: 16.2 kB / 0.7962 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.3953, allocations: 20.28 kB / 0.7962 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.3954, allocations: 40.77 kB / 0.7963 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3954, allocations: 1.406 kB / 0.7963 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001406/0.3956, allocations: 73.95 kB / 0.7963 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3956, allocations: 5.656 kB / 0.7963 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3956, allocations: 0 / 0.7963 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3956, allocations: 1.156 kB / 0.7963 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.3957, allocations: 15.7 kB / 0.7964 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3957, allocations: 240 / 0.7964 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.3958, allocations: 11.02 kB / 0.7964 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3958, allocations: 9.109 kB / 0.7964 GB, free: 14.49 MB / 0.5606 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.582e-05/0.3959, allocations: 121 kB / 0.7965 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.3959, allocations: 2.312 kB / 0.7965 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.3961, allocations: 100.7 kB / 0.7966 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3961, allocations: 1.125 kB / 0.7966 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3961, allocations: 0 / 0.7966 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3962, allocations: 0 / 0.7966 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.3963, allocations: 182.3 kB / 0.7968 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3963, allocations: 5.094 kB / 0.7968 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.3964, allocations: 12.69 kB / 0.7968 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3964, allocations: 5.703 kB / 0.7968 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3964, allocations: 3.984 kB / 0.7968 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3964, allocations: 1.031 kB / 0.7968 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3964, allocations: 0 / 0.7968 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.3966, allocations: 122.3 kB / 0.7969 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.3967, allocations: 87.38 kB / 0.797 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.3967, allocations: 9.281 kB / 0.797 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.3968, allocations: 2.031 kB / 0.797 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.3968, allocations: 7.422 kB / 0.797 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3969, allocations: 2.312 kB / 0.797 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.3969, allocations: 87.77 kB / 0.7971 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3969, allocations: 0 / 0.7971 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001935/0.3971, allocations: 13.81 kB / 0.7971 GB, free: 13.76 MB / 0.5606 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.000107/0.3972, allocations: 98.59 kB / 0.7972 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.3974, allocations: 61.3 kB / 0.7973 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3974, allocations: 0 / 0.7973 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.91e-05/0.3975, allocations: 37.84 kB / 0.7973 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.3976, allocations: 10.28 kB / 0.7973 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.3979, allocations: 141.8 kB / 0.7974 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3983, allocations: 0.6834 MB / 0.7981 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.3983, allocations: 15.61 kB / 0.7981 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.3984, allocations: 10.53 kB / 0.7981 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.3984, allocations: 0 / 0.7981 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.003007/0.4014, allocations: 0.7012 MB / 0.7988 GB, free: 12.43 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile [Timeout 660] (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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.864652585238218]