Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 105.9 kB / 16.94 MB, free: 5.809 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.001372/0.001372, allocations: 191.3 kB / 17.87 MB, free: 5.176 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.393/1.393, allocations: 222.9 MB / 241.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8556/0.8556, allocations: 122.8 MB / 414.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 63.89 kB / 0.4917 GB, free: 7.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4057, allocations: 77.93 MB / 0.5678 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006348/0.4121, allocations: 4.955 MB / 0.5727 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1661/0.5783, allocations: 150.8 MB / 0.7199 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.5797, allocations: 23.88 kB / 0.72 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009538/0.5806, allocations: 194.2 kB / 0.7202 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.5834, allocations: 0.5723 MB / 0.7207 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.5861, allocations: 0.8435 MB / 0.7215 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.5882, allocations: 1.448 MB / 0.7229 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.5894, allocations: 0.5871 MB / 0.7235 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009515/0.5904, allocations: 0.5021 MB / 0.724 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009273/0.5913, allocations: 0.5329 MB / 0.7245 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.5917, allocations: 120 kB / 0.7246 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.5929, allocations: 463.6 kB / 0.7251 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.5934, allocations: 311 kB / 0.7254 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006822/0.5941, allocations: 0.5907 MB / 0.726 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002033/0.5961, allocations: 1.64 MB / 0.7276 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.5962, allocations: 0 / 0.7276 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5962, allocations: 0 / 0.7276 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.696e-05/0.5962, allocations: 4 kB / 0.7276 GB, free: 6.684 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002688/0.5989, allocations: 1.479 MB / 0.729 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5989, allocations: 12.02 kB / 0.729 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009224/0.5999, allocations: 187.4 kB / 0.7292 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.6009, allocations: 0.7585 MB / 0.7299 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.601, allocations: 69.98 kB / 0.73 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.6011, allocations: 87.98 kB / 0.7301 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.6027, allocations: 0.9613 MB / 0.731 GB, free: 3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.6027, allocations: 4 kB / 0.731 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.471e-05/0.6028, allocations: 36 kB / 0.7311 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.6028, allocations: 23.98 kB / 0.7311 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.6046, allocations: 1.159 MB / 0.7322 GB, free: 1.777 MB / 0.5606 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.004195/0.6088, allocations: 2.891 MB / 0.735 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.6103, allocations: 0.8526 MB / 0.7359 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/0.6108, allocations: 322.7 kB / 0.7362 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.59e-05/0.6109, allocations: 32.67 kB / 0.7362 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009227/0.6119, allocations: 0.5288 MB / 0.7367 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.464e-06/0.6119, allocations: 7.938 kB / 0.7367 GB, free: 13 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003256/0.6151, allocations: 1.29 MB / 0.738 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.6153, allocations: 204.8 kB / 0.7382 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007755/0.616, allocations: 0.6527 MB / 0.7388 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/0.6161, allocations: 45.69 kB / 0.7389 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.6164, allocations: 404.4 kB / 0.7393 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.6167, allocations: 284 kB / 0.7395 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.6169, allocations: 182.4 kB / 0.7397 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.6171, allocations: 390.8 kB / 0.7401 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.6177, allocations: 289.8 kB / 0.7404 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.6183, allocations: 395.1 kB / 0.7407 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.6195, allocations: 0.6594 MB / 0.7414 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6195, allocations: 0 / 0.7414 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002013/0.6215, allocations: 0.9152 MB / 0.7423 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6216, allocations: 11.92 kB / 0.7423 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.6216, allocations: 0 / 0.7423 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/0.6222, allocations: 84.78 kB / 0.7424 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.6229, allocations: 183.8 kB / 0.7425 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.625, allocations: 1.629 MB / 0.7441 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000809/0.6258, allocations: 99.25 kB / 0.7442 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/0.6259, allocations: 47.97 kB / 0.7443 GB, free: 5.004 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (105): * Single equations (assignments): 104 * 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.0004744/0.6263, allocations: 271.8 kB / 0.7445 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.6265, allocations: 90.95 kB / 0.7446 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.629, allocations: 1.168 MB / 0.7458 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.6291, allocations: 8 kB / 0.7458 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6291, allocations: 7.984 kB / 0.7458 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6291, allocations: 7.984 kB / 0.7458 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.6301, allocations: 0.9307 MB / 0.7467 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.6302, allocations: 0 / 0.7467 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/0.6308, allocations: 155.8 kB / 0.7468 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/0.6312, allocations: 76.72 kB / 0.7469 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.6313, allocations: 31.92 kB / 0.7469 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.6332, allocations: 1.65 MB / 0.7486 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6332, allocations: 4 kB / 0.7486 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2881/0.9213, allocations: 0.988 MB / 0.7495 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.9218, allocations: 280.8 kB / 0.7498 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.922, allocations: 27.97 kB / 0.7498 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.9227, allocations: 71.36 kB / 0.7499 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002087/0.9229, allocations: 76.25 kB / 0.75 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.121e-05/0.923, allocations: 39.8 kB / 0.75 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007583/0.9238, allocations: 478.8 kB / 0.7505 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9238, allocations: 0 / 0.7505 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001041/0.9248, allocations: 341.3 kB / 0.7508 GB, free: 170.6 MB / 0.5762 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.001508/0.9263, allocations: 0.6035 MB / 0.7514 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002959/0.9293, allocations: 1.111 MB / 0.7525 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.9293, allocations: 1.688 kB / 0.7525 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/0.9305, allocations: 0.5522 MB / 0.753 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.9319, allocations: 304.4 kB / 0.7533 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.9357, allocations: 1.788 MB / 0.755 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.9363, allocations: 1.041 MB / 0.756 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.9367, allocations: 122.4 kB / 0.7562 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.9367, allocations: 0 / 0.7562 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.0289/0.9656, allocations: 19.33 MB / 0.775 GB, free: 160.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)