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.001312/0.001312, allocations: 108.2 kB / 17.03 MB, free: 5.656 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.001122/0.001122, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7282/0.7282, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3226, allocations: 76.15 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007259/0.3299, allocations: 7.01 MB / 0.5644 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1559/0.4859, allocations: 151.2 MB / 0.712 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.4877, allocations: 19.88 kB / 0.712 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008962/0.4887, allocations: 265.3 kB / 0.7123 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.4917, allocations: 0.7744 MB / 0.7131 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.4942, allocations: 1.013 MB / 0.714 GB, free: 3.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.4968, allocations: 2.093 MB / 0.7161 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.4984, allocations: 1.118 MB / 0.7172 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.4996, allocations: 0.8137 MB / 0.718 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009806/0.5005, allocations: 0.8831 MB / 0.7188 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.5008, allocations: 220 kB / 0.719 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.5019, allocations: 0.5777 MB / 0.7196 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.5023, allocations: 494.5 kB / 0.7201 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000847/0.5032, allocations: 0.9681 MB / 0.721 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.5058, allocations: 2.659 MB / 0.7236 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5058, allocations: 0 / 0.7236 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5058, allocations: 0 / 0.7236 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.278e-05/0.5059, allocations: 0 / 0.7236 GB, free: 9.91 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003718/0.5096, allocations: 2.052 MB / 0.7256 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.5096, allocations: 8.031 kB / 0.7256 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.5107, allocations: 254.6 kB / 0.7259 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.5123, allocations: 0.9968 MB / 0.7269 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.5125, allocations: 144.8 kB / 0.727 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.5126, allocations: 151.9 kB / 0.7271 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.5152, allocations: 1.593 MB / 0.7287 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.5152, allocations: 0 / 0.7287 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.5154, allocations: 68 kB / 0.7288 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/0.5154, allocations: 40 kB / 0.7288 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002539/0.5179, allocations: 1.592 MB / 0.7303 GB, free: 2.852 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.006715/0.5247, allocations: 4.686 MB / 0.7349 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.5266, allocations: 1.089 MB / 0.736 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.5273, allocations: 435.7 kB / 0.7364 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.5274, allocations: 45.08 kB / 0.7364 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001153/0.5286, allocations: 0.6997 MB / 0.7371 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 4.218e-06/0.5286, allocations: 0 / 0.7371 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.003939/0.5325, allocations: 1.653 MB / 0.7387 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/0.5326, allocations: 192.9 kB / 0.7389 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.5338, allocations: 0.8492 MB / 0.7398 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.5339, allocations: 49.7 kB / 0.7398 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004649/0.5344, allocations: 0.6206 MB / 0.7404 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.5347, allocations: 362.8 kB / 0.7408 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003497/0.5351, allocations: 222.7 kB / 0.741 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5352, allocations: 349.9 kB / 0.7413 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007674/0.536, allocations: 398.4 kB / 0.7417 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008775/0.5369, allocations: 0.5111 MB / 0.7422 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.5385, allocations: 0.8877 MB / 0.7431 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.5385, allocations: 0 / 0.7431 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002654/0.5411, allocations: 1.207 MB / 0.7442 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.5412, allocations: 9.562 kB / 0.7442 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.5412, allocations: 3.984 kB / 0.7442 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/0.5418, allocations: 88.83 kB / 0.7443 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5429, allocations: 231.6 kB / 0.7445 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.5451, allocations: 1.647 MB / 0.7462 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.5463, allocations: 134.9 kB / 0.7463 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.5465, allocations: 51.95 kB / 0.7463 GB, free: 1.965 MB / 0.5762 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.0008135/0.5473, allocations: 348.4 kB / 0.7467 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.5477, allocations: 114.6 kB / 0.7468 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2577/0.8054, allocations: 1.526 MB / 0.7483 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.8054, allocations: 13.8 kB / 0.7483 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.8054, allocations: 0 / 0.7483 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/0.8055, allocations: 6.938 kB / 0.7483 GB, free: 173.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.8082, allocations: 1.374 MB / 0.7496 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.8082, allocations: 0.6562 kB / 0.7496 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009515/0.8092, allocations: 201.6 kB / 0.7498 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/0.8097, allocations: 71.89 kB / 0.7499 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.8098, allocations: 36.41 kB / 0.7499 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.8115, allocations: 1.67 MB / 0.7516 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.8116, allocations: 0.875 kB / 0.7516 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.8145, allocations: 1.282 MB / 0.7528 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006496/0.8152, allocations: 358.9 kB / 0.7531 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.8154, allocations: 34.62 kB / 0.7532 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008831/0.8162, allocations: 87.41 kB / 0.7533 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.8165, allocations: 94.56 kB / 0.7534 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.8166, allocations: 53.83 kB / 0.7534 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001037/0.8177, allocations: 0.6133 MB / 0.754 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8177, allocations: 0 / 0.754 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001429/0.8191, allocations: 480.2 kB / 0.7545 GB, free: 170.4 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: 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.001421/0.8206, allocations: 0.626 MB / 0.7551 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.8228, allocations: 1.156 MB / 0.7562 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.8228, allocations: 1.219 kB / 0.7562 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.824, allocations: 0.6816 MB / 0.7569 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.8254, allocations: 345.4 kB / 0.7572 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.83, allocations: 2.461 MB / 0.7596 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.8309, allocations: 1.222 MB / 0.7608 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001122/0.832, allocations: 319 kB / 0.7611 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.8324, allocations: 141.9 kB / 0.7612 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.8324, allocations: 0 / 0.7612 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03846/0.8709, allocations: 20.62 MB / 0.7814 GB, free: 160.8 MB / 0.5762 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)