Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001444/0.001444, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.001317/0.001317, allocations: 192.8 kB / 17.34 MB, free: 5.719 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7897/0.7897, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.03 kB / 0.5572 GB, free: 32.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1589, allocations: 76.17 MB / 0.6316 GB, free: 4.941 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006902/0.1659, allocations: 4.91 MB / 0.6364 GB, free: 4 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.55/0.716, allocations: 150.6 MB / 0.7835 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.717, allocations: 15.25 kB / 0.7835 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009096/0.718, allocations: 199.4 kB / 0.7837 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.7205, allocations: 0.5481 MB / 0.7842 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.7228, allocations: 0.8637 MB / 0.785 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.7249, allocations: 1.426 MB / 0.7864 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.7263, allocations: 0.5776 MB / 0.787 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.7276, allocations: 0.5103 MB / 0.7875 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.7288, allocations: 0.5157 MB / 0.788 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004339/0.7292, allocations: 118.2 kB / 0.7881 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.7306, allocations: 489.4 kB / 0.7886 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.731, allocations: 305.4 kB / 0.7889 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.7321, allocations: 0.5738 MB / 0.7894 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.7346, allocations: 1.666 MB / 0.7911 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7346, allocations: 4 kB / 0.7911 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 5.641e-06/0.7346, allocations: 0 / 0.7911 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.444e-05/0.7346, allocations: 7.875 kB / 0.7911 GB, free: 12.95 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002982/0.7376, allocations: 1.454 MB / 0.7925 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.7377, allocations: 8.219 kB / 0.7925 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001808/0.7379, allocations: 143.8 kB / 0.7926 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009663/0.7389, allocations: 189.5 kB / 0.7928 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.7402, allocations: 0.7756 MB / 0.7936 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.7403, allocations: 65.75 kB / 0.7936 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.7404, allocations: 87.2 kB / 0.7937 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.742, allocations: 0.9377 MB / 0.7946 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.7421, allocations: 0 / 0.7946 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.394e-05/0.7422, allocations: 38.38 kB / 0.7947 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.7422, allocations: 18.75 kB / 0.7947 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.7439, allocations: 1.127 MB / 0.7958 GB, free: 11.52 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.004258/0.7481, allocations: 2.732 MB / 0.7985 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.7497, allocations: 0.9169 MB / 0.7994 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.7502, allocations: 312.2 kB / 0.7997 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.422e-05/0.7503, allocations: 36.06 kB / 0.7997 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008806/0.7512, allocations: 0.5135 MB / 0.8002 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 3.006e-06/0.7512, allocations: 0 / 0.8002 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003308/0.7545, allocations: 1.255 MB / 0.8014 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.7547, allocations: 189.2 kB / 0.8016 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008509/0.7555, allocations: 0.6373 MB / 0.8022 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.7556, allocations: 45.2 kB / 0.8023 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003319/0.756, allocations: 401.3 kB / 0.8026 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.7562, allocations: 267.2 kB / 0.8029 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.7565, allocations: 156.4 kB / 0.803 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.7566, allocations: 393.1 kB / 0.8034 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.7571, allocations: 256.2 kB / 0.8037 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.7577, allocations: 371.4 kB / 0.804 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.7588, allocations: 0.6039 MB / 0.8046 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7588, allocations: 2.781 kB / 0.8046 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001979/0.7608, allocations: 0.8301 MB / 0.8054 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.7609, allocations: 11.55 kB / 0.8054 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.7609, allocations: 0 / 0.8054 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006168/0.7615, allocations: 85.62 kB / 0.8055 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/0.7622, allocations: 162.3 kB / 0.8057 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.7643, allocations: 1.628 MB / 0.8073 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009707/0.7653, allocations: 99.02 kB / 0.8074 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.7654, allocations: 30.55 kB / 0.8074 GB, free: 6.223 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: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0006028/0.766, allocations: 273.6 kB / 0.8076 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.7663, allocations: 85.28 kB / 0.8077 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.7689, allocations: 1.14 MB / 0.8088 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.7689, allocations: 14 kB / 0.8089 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7689, allocations: 2.625 kB / 0.8089 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.769, allocations: 3.984 kB / 0.8089 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.7727, allocations: 2.021 MB / 0.8108 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7727, allocations: 0 / 0.8108 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006105/0.7733, allocations: 153.9 kB / 0.811 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.7738, allocations: 78.84 kB / 0.8111 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.7739, allocations: 27.41 kB / 0.8111 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.7758, allocations: 1.648 MB / 0.8127 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7758, allocations: 0 / 0.8127 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.7781, allocations: 1.047 MB / 0.8137 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005594/0.7787, allocations: 282.7 kB / 0.814 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.7789, allocations: 22.81 kB / 0.814 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/0.7796, allocations: 69.22 kB / 0.8141 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.7798, allocations: 80.16 kB / 0.8141 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-05/0.7799, allocations: 36.41 kB / 0.8142 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006461/0.7806, allocations: 466.1 kB / 0.8146 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7806, allocations: 0 / 0.8146 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009721/0.7816, allocations: 333.1 kB / 0.8149 GB, free: 1.469 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003681/0.7853, allocations: 2.103 MB / 0.817 GB, free: 184 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002014/0.7873, allocations: 0.8284 MB / 0.8178 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.7873, allocations: 0 / 0.8178 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.7884, allocations: 0.5449 MB / 0.8183 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.7901, allocations: 304.9 kB / 0.8186 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.8024, allocations: 6.372 MB / 0.8249 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007574/0.8032, allocations: 1.037 MB / 0.8259 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001043/0.8042, allocations: 268 kB / 0.8261 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006928/0.8049, allocations: 414 kB / 0.8265 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of SimCode: time 9.81e-07/0.8049, allocations: 0 / 0.8265 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05967/0.8646, allocations: 22.68 MB / 0.8487 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.57, allocations: 11.62 kB / 0.8487 GB, free: 4.551 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)