Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001056/0.001056, allocations: 117.1 kB / 16.42 MB, free: 6.484 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.001085/0.001085, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00218/0.00218, allocations: 281.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9594/0.9594, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 91.86 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4431, allocations: 86.99 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006609/0.4498, allocations: 5.327 MB / 0.7722 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.6141, allocations: 151 MB / 0.9197 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009735/0.6151, allocations: 15.94 kB / 0.9197 GB, free: 7 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008124/0.6159, allocations: 206 kB / 0.9199 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.6182, allocations: 0.6417 MB / 0.9205 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.6206, allocations: 1.009 MB / 0.9215 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.6228, allocations: 1.814 MB / 0.9233 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00168/0.6245, allocations: 1.164 MB / 0.9244 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.6256, allocations: 0.7863 MB / 0.9252 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.6267, allocations: 0.8362 MB / 0.926 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004643/0.6272, allocations: 216 kB / 0.9262 GB, free: 296 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.6285, allocations: 0.57 MB / 0.9268 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.629, allocations: 494.5 kB / 0.9272 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.6302, allocations: 0.9173 MB / 0.9281 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003925/0.6341, allocations: 2.577 MB / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6341, allocations: 4 kB / 0.9307 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6341, allocations: 4 kB / 0.9307 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001037/0.6342, allocations: 0 / 0.9307 GB, free: 11.72 MB / 0.7012 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.004744/0.639, allocations: 2.002 MB / 0.9326 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.6391, allocations: 12.03 kB / 0.9326 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.6401, allocations: 254.6 kB / 0.9329 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.6416, allocations: 0.9852 MB / 0.9338 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.6417, allocations: 148.8 kB / 0.934 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.6419, allocations: 152 kB / 0.9341 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002765/0.6447, allocations: 1.589 MB / 0.9357 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.6447, allocations: 0 / 0.9357 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.6449, allocations: 72 kB / 0.9357 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.6449, allocations: 36 kB / 0.9358 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/0.6476, allocations: 1.592 MB / 0.9373 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006478/0.654, allocations: 4.186 MB / 0.9414 GB, free: 464 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.6559, allocations: 1.092 MB / 0.9425 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006957/0.6567, allocations: 423.7 kB / 0.9429 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.074e-05/0.6568, allocations: 49.06 kB / 0.9429 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.6579, allocations: 0.6918 MB / 0.9436 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=111): time 3.276e-06/0.658, allocations: 0 / 0.9436 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.003818/0.6618, allocations: 1.653 MB / 0.9452 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.6619, allocations: 192.9 kB / 0.9454 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.6629, allocations: 0.8414 MB / 0.9462 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-05/0.663, allocations: 53.7 kB / 0.9463 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/0.6635, allocations: 0.6244 MB / 0.9469 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.6637, allocations: 362.8 kB / 0.9472 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.6641, allocations: 222.8 kB / 0.9474 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6642, allocations: 341.9 kB / 0.9478 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007328/0.6649, allocations: 402.4 kB / 0.9482 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.6658, allocations: 0.511 MB / 0.9487 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.6674, allocations: 0.8838 MB / 0.9495 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6674, allocations: 3.938 kB / 0.9495 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002552/0.6699, allocations: 1.203 MB / 0.9507 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.67, allocations: 7.984 kB / 0.9507 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.67, allocations: 4 kB / 0.9507 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.6706, allocations: 80.84 kB / 0.9508 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/0.6716, allocations: 227.7 kB / 0.951 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.6736, allocations: 1.65 MB / 0.9526 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009558/0.6746, allocations: 130.9 kB / 0.9527 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.847e-05/0.6747, allocations: 56.02 kB / 0.9528 GB, free: 4.48 MB / 0.7169 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.0006601/0.6754, allocations: 351.4 kB / 0.9531 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.6756, allocations: 110.7 kB / 0.9532 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/0.6789, allocations: 1.532 MB / 0.9547 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.679, allocations: 7.969 kB / 0.9547 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.679, allocations: 0 / 0.9547 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005475/0.6795, allocations: 355.3 kB / 0.9551 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.6797, allocations: 31.84 kB / 0.9551 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/0.6807, allocations: 87.91 kB / 0.9552 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.6809, allocations: 101.1 kB / 0.9553 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002763/0.6836, allocations: 1.303 MB / 0.9566 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.4608/1.144, allocations: 1.928 MB / 0.9584 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001721/1.146, allocations: 0.5043 MB / 0.9589 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001909/1.148, allocations: 0.6134 MB / 0.9595 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of Backend: time 1.834e-06/1.148, allocations: 0 / 0.9595 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005985/1.154, allocations: 1.462 MB / 0.961 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005845/1.16, allocations: 2.761 MB / 0.9637 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.04685/1.207, allocations: 21.56 MB / 0.9847 GB, free: 169.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)