Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 114.5 kB / 17.08 MB, free: 5.945 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.001378/0.001378, allocations: 194 kB / 18.02 MB, free: 5.031 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.257/1.257, allocations: 222.9 MB / 241.7 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6683/0.6683, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 69.69 kB / 0.5583 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1254, allocations: 76.17 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005527/0.1309, allocations: 4.778 MB / 0.6374 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4568/0.5878, allocations: 150.6 MB / 0.7844 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007573/0.5886, allocations: 16 kB / 0.7844 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005266/0.5891, allocations: 196.1 kB / 0.7846 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.5907, allocations: 0.5426 MB / 0.7852 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.5923, allocations: 0.8298 MB / 0.786 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00121/0.5935, allocations: 1.36 MB / 0.7873 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007015/0.5943, allocations: 0.5775 MB / 0.7879 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005619/0.5948, allocations: 481.7 kB / 0.7883 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.5953, allocations: 499.2 kB / 0.7888 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.5955, allocations: 113.2 kB / 0.7889 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008894/0.5963, allocations: 487.8 kB / 0.7894 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.5966, allocations: 292.1 kB / 0.7897 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.597, allocations: 0.5555 MB / 0.7902 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.5987, allocations: 1.6 MB / 0.7918 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5987, allocations: 1.828 kB / 0.7918 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.549e-06/0.5987, allocations: 0 / 0.7918 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.5988, allocations: 5.312 kB / 0.7918 GB, free: 13.21 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002264/0.601, allocations: 1.408 MB / 0.7931 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.6011, allocations: 8.531 kB / 0.7932 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/0.6019, allocations: 186.2 kB / 0.7933 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009912/0.6029, allocations: 0.7502 MB / 0.7941 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.603, allocations: 66.44 kB / 0.7941 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.6031, allocations: 78.28 kB / 0.7942 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001332/0.6044, allocations: 0.9083 MB / 0.7951 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.6044, allocations: 3.984 kB / 0.7951 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.6045, allocations: 38.19 kB / 0.7951 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.6045, allocations: 24.23 kB / 0.7951 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.606, allocations: 1.097 MB / 0.7962 GB, free: 11.84 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.6094, allocations: 2.655 MB / 0.7988 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.6108, allocations: 0.8664 MB / 0.7997 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.6112, allocations: 302.7 kB / 0.7999 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.96e-05/0.6113, allocations: 30.17 kB / 0.8 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007732/0.6121, allocations: 496.1 kB / 0.8004 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.264e-06/0.6121, allocations: 2.688 kB / 0.8005 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.002929/0.615, allocations: 1.177 MB / 0.8016 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.6151, allocations: 190.6 kB / 0.8018 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.6158, allocations: 0.625 MB / 0.8024 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.485e-05/0.6159, allocations: 41.42 kB / 0.8024 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.6162, allocations: 386.5 kB / 0.8028 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.6164, allocations: 258.8 kB / 0.803 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.6166, allocations: 165.8 kB / 0.8032 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6168, allocations: 383.5 kB / 0.8036 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.6172, allocations: 264.9 kB / 0.8038 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.6178, allocations: 364.2 kB / 0.8042 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000967/0.6188, allocations: 0.6001 MB / 0.8048 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6188, allocations: 3.75 kB / 0.8048 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001739/0.6205, allocations: 0.8356 MB / 0.8056 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.6206, allocations: 7.406 kB / 0.8056 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6206, allocations: 0 / 0.8056 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/0.6211, allocations: 84.7 kB / 0.8057 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.6218, allocations: 161.2 kB / 0.8058 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.6238, allocations: 1.629 MB / 0.8074 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/0.6245, allocations: 88.16 kB / 0.8075 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.6246, allocations: 38 kB / 0.8075 GB, free: 6.832 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000427/0.625, allocations: 271.1 kB / 0.8078 GB, free: 6.688 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.6252, allocations: 91.2 kB / 0.8079 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.6273, allocations: 1.037 MB / 0.8089 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.6273, allocations: 14.19 kB / 0.8089 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6273, allocations: 0 / 0.8089 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6273, allocations: 7.922 kB / 0.8089 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002819/0.6301, allocations: 1.91 MB / 0.8108 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.6301, allocations: 3.938 kB / 0.8108 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.6307, allocations: 139.7 kB / 0.8109 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000413/0.6311, allocations: 78.5 kB / 0.811 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.6311, allocations: 23.61 kB / 0.811 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.6329, allocations: 1.659 MB / 0.8126 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6329, allocations: 3.938 kB / 0.8126 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.6348, allocations: 0.9816 MB / 0.8136 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.6352, allocations: 267.7 kB / 0.8138 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.6354, allocations: 21.41 kB / 0.8139 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/0.636, allocations: 61.73 kB / 0.8139 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.6361, allocations: 73.53 kB / 0.814 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.338e-05/0.6362, allocations: 31.02 kB / 0.814 GB, free: 2.742 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005314/0.6367, allocations: 457.9 kB / 0.8145 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.6368, allocations: 0 / 0.8145 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008417/0.6376, allocations: 317.6 kB / 0.8148 GB, free: 2.387 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00128/0.6389, allocations: 0.5983 MB / 0.8153 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.6405, allocations: 0.8262 MB / 0.8162 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6405, allocations: 0 / 0.8162 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008367/0.6413, allocations: 0.5224 MB / 0.8167 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.6425, allocations: 301 kB / 0.817 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.6451, allocations: 1.644 MB / 0.8186 GB, free: 264 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.6457, allocations: 1.016 MB / 0.8196 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.646, allocations: 111.2 kB / 0.8197 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.646, allocations: 0 / 0.8197 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of Templates: time 0.02173/0.6677, allocations: 18.31 MB / 0.8375 GB, free: 1.109 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)