Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001237, allocations: 117 kB / 17.09 MB, free: 5.969 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.001332/0.001332, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.26/1.26, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6708/0.6708, allocations: 115.3 MB / 407.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 61.45 kB / 0.5583 GB, free: 32.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1303, allocations: 76.18 MB / 0.6327 GB, free: 4.309 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008551/0.1389, allocations: 7.026 MB / 0.6396 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4955/0.6345, allocations: 151.2 MB / 0.7872 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.6356, allocations: 22.12 kB / 0.7872 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007079/0.6364, allocations: 265.5 kB / 0.7874 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.6386, allocations: 0.7887 MB / 0.7882 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.6406, allocations: 1.013 MB / 0.7892 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002335/0.643, allocations: 2.099 MB / 0.7913 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.6445, allocations: 1.109 MB / 0.7923 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.6457, allocations: 0.8325 MB / 0.7932 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009644/0.6467, allocations: 0.8784 MB / 0.794 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.6469, allocations: 218 kB / 0.7942 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.648, allocations: 0.5739 MB / 0.7948 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003707/0.6484, allocations: 0.4883 MB / 0.7953 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007969/0.6492, allocations: 0.9675 MB / 0.7962 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.6519, allocations: 2.664 MB / 0.7988 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6519, allocations: 0 / 0.7988 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6519, allocations: 4 kB / 0.7988 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.423e-05/0.6519, allocations: 0 / 0.7988 GB, free: 12.05 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003726/0.6557, allocations: 2.043 MB / 0.8008 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.6557, allocations: 10.09 kB / 0.8008 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.6568, allocations: 259.6 kB / 0.8011 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.6582, allocations: 0.9928 MB / 0.802 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.6584, allocations: 151.1 kB / 0.8022 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/0.6585, allocations: 151.1 kB / 0.8023 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.6611, allocations: 1.589 MB / 0.8039 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.6611, allocations: 0 / 0.8039 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.6613, allocations: 63.34 kB / 0.8039 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.6613, allocations: 40.72 kB / 0.804 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.6636, allocations: 1.595 MB / 0.8055 GB, free: 9.684 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.00692/0.6705, allocations: 4.68 MB / 0.8101 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.6724, allocations: 1.103 MB / 0.8112 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/0.6731, allocations: 435.7 kB / 0.8116 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.968e-05/0.6732, allocations: 46.2 kB / 0.8116 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.6744, allocations: 0.7018 MB / 0.8123 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=111): time 2.975e-06/0.6744, allocations: 4 kB / 0.8123 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of matching and sorting (n=111): time 0.003883/0.6783, allocations: 1.654 MB / 0.8139 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.6784, allocations: 201.4 kB / 0.8141 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.6795, allocations: 0.8387 MB / 0.8149 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.6796, allocations: 49.48 kB / 0.815 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/0.6802, allocations: 0.6207 MB / 0.8156 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.6804, allocations: 350.8 kB / 0.8159 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.6808, allocations: 227.9 kB / 0.8162 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6809, allocations: 344 kB / 0.8165 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007103/0.6816, allocations: 403.4 kB / 0.8169 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.6824, allocations: 0.5078 MB / 0.8174 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.6839, allocations: 0.8907 MB / 0.8182 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.6839, allocations: 0 / 0.8182 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002464/0.6864, allocations: 1.209 MB / 0.8194 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6864, allocations: 4.938 kB / 0.8194 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6865, allocations: 1.812 kB / 0.8194 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005792/0.687, allocations: 86.2 kB / 0.8195 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000902/0.6879, allocations: 233.8 kB / 0.8197 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.6901, allocations: 1.649 MB / 0.8213 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.6912, allocations: 140.3 kB / 0.8215 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/0.6913, allocations: 48.75 kB / 0.8215 GB, free: 15.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0007241/0.6921, allocations: 349.3 kB / 0.8218 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.6923, allocations: 117.4 kB / 0.822 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.6954, allocations: 1.528 MB / 0.8235 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.6954, allocations: 16.84 kB / 0.8235 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6954, allocations: 4 kB / 0.8235 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/0.6955, allocations: 7.969 kB / 0.8235 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.6971, allocations: 1.373 MB / 0.8248 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.6972, allocations: 0 / 0.8248 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007635/0.6979, allocations: 194.6 kB / 0.825 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004276/0.6984, allocations: 78.3 kB / 0.8251 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-05/0.6984, allocations: 34.19 kB / 0.8251 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.7003, allocations: 1.672 MB / 0.8267 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7003, allocations: 3.938 kB / 0.8267 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.7027, allocations: 1.276 MB / 0.828 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005113/0.7032, allocations: 364.4 kB / 0.8283 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.7034, allocations: 31.69 kB / 0.8284 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/0.7043, allocations: 87.94 kB / 0.8285 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.7045, allocations: 93.98 kB / 0.8285 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.7046, allocations: 57.19 kB / 0.8286 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007873/0.7054, allocations: 0.6149 MB / 0.8292 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7054, allocations: 0 / 0.8292 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001108/0.7065, allocations: 478.2 kB / 0.8297 GB, free: 9.672 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00131/0.7078, allocations: 0.6203 MB / 0.8303 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002112/0.7099, allocations: 1.155 MB / 0.8314 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7099, allocations: 0 / 0.8314 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.7111, allocations: 0.6866 MB / 0.8321 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.7124, allocations: 348.7 kB / 0.8324 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.7165, allocations: 2.504 MB / 0.8348 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/0.7173, allocations: 1.224 MB / 0.836 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.7178, allocations: 159.3 kB / 0.8362 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of SimCode: time 6.52e-07/0.7178, allocations: 0 / 0.8362 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of Templates: time 0.03735/0.7552, allocations: 27.43 MB / 0.863 GB, free: 8.496 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)