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.001322/0.001322, allocations: 102 kB / 16.4 MB, free: 6.406 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.001409/0.001409, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 291.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 91.84 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4951/0.4968, allocations: 86.98 MB / 0.767 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008014/0.5049, allocations: 5.337 MB / 0.7722 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1728/0.6777, allocations: 151 MB / 0.9197 GB, free: 7 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001069/0.6789, allocations: 19.94 kB / 0.9197 GB, free: 6.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007791/0.6797, allocations: 202 kB / 0.9199 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.6818, allocations: 0.626 MB / 0.9205 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.6843, allocations: 1.008 MB / 0.9215 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.6866, allocations: 1.81 MB / 0.9232 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.6883, allocations: 1.172 MB / 0.9244 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.6896, allocations: 0.7785 MB / 0.9252 GB, free: 1.344 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.6909, allocations: 0.8362 MB / 0.926 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005154/0.6915, allocations: 220 kB / 0.9262 GB, free: 296 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.6929, allocations: 0.5816 MB / 0.9267 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000638/0.6936, allocations: 490.5 kB / 0.9272 GB, free: 15.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.695, allocations: 0.9134 MB / 0.9281 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003448/0.6984, allocations: 2.573 MB / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6985, allocations: 0 / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.265e-06/0.6985, allocations: 0 / 0.9306 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.897e-05/0.6986, allocations: 0 / 0.9306 GB, free: 11.73 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.005289/0.7039, allocations: 2.006 MB / 0.9326 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.7039, allocations: 8.031 kB / 0.9326 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.7052, allocations: 254.6 kB / 0.9328 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.7073, allocations: 0.9929 MB / 0.9338 GB, free: 8.371 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.7075, allocations: 148.8 kB / 0.9339 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.7078, allocations: 152 kB / 0.9341 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003271/0.711, allocations: 1.589 MB / 0.9356 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.7111, allocations: 0 / 0.9356 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.7113, allocations: 64 kB / 0.9357 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/0.7113, allocations: 39.94 kB / 0.9357 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.7142, allocations: 1.596 MB / 0.9373 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00747/0.7217, allocations: 4.186 MB / 0.9414 GB, free: 464 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.7237, allocations: 1.094 MB / 0.9425 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007426/0.7245, allocations: 431.7 kB / 0.9429 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/0.7246, allocations: 41.08 kB / 0.9429 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/0.7258, allocations: 0.7036 MB / 0.9436 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=111): time 3.095e-06/0.7258, allocations: 0 / 0.9436 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=111): time 0.004025/0.7298, allocations: 1.645 MB / 0.9452 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.73, allocations: 200.9 kB / 0.9454 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.7313, allocations: 0.8375 MB / 0.9462 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.7315, allocations: 49.7 kB / 0.9463 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005826/0.7321, allocations: 0.6206 MB / 0.9469 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/0.7324, allocations: 358.8 kB / 0.9472 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/0.7328, allocations: 226.8 kB / 0.9474 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.733, allocations: 349.9 kB / 0.9478 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007786/0.7338, allocations: 398.4 kB / 0.9481 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008943/0.7347, allocations: 0.5072 MB / 0.9486 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.7363, allocations: 0.8799 MB / 0.9495 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.7363, allocations: 0 / 0.9495 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002693/0.739, allocations: 1.203 MB / 0.9507 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.7391, allocations: 4 kB / 0.9507 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7391, allocations: 4 kB / 0.9507 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.7397, allocations: 84.86 kB / 0.9508 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009559/0.7407, allocations: 239.5 kB / 0.951 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.7431, allocations: 1.643 MB / 0.9526 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.7443, allocations: 135 kB / 0.9527 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.7444, allocations: 51.95 kB / 0.9528 GB, free: 4.484 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.0008841/0.7453, allocations: 356.2 kB / 0.9531 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004814/0.7458, allocations: 110.6 kB / 0.9532 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.7498, allocations: 1.528 MB / 0.9547 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.7499, allocations: 12 kB / 0.9547 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.7499, allocations: 4 kB / 0.9547 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.7499, allocations: 11.91 kB / 0.9547 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.7526, allocations: 1.376 MB / 0.9561 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.7527, allocations: 0 / 0.9561 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.7535, allocations: 195.8 kB / 0.9563 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004849/0.754, allocations: 76.73 kB / 0.9563 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.7541, allocations: 35.97 kB / 0.9564 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3963/1.15, allocations: 1.663 MB / 0.958 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.15, allocations: 0.7812 kB / 0.958 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/1.154, allocations: 1.285 MB / 0.9592 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007294/1.155, allocations: 356.7 kB / 0.9596 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/1.155, allocations: 33.02 kB / 0.9596 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008835/1.156, allocations: 82.11 kB / 0.9597 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/1.156, allocations: 99.19 kB / 0.9598 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/1.156, allocations: 53.53 kB / 0.9598 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001045/1.157, allocations: 0.6176 MB / 0.9604 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.182e-06/1.157, allocations: 0 / 0.9604 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001246/1.159, allocations: 444.6 kB / 0.9609 GB, free: 186.2 MB / 0.7169 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.00139/1.16, allocations: 0.6208 MB / 0.9615 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002344/1.162, allocations: 1.147 MB / 0.9626 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/1.162, allocations: 0.875 kB / 0.9626 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/1.164, allocations: 0.6797 MB / 0.9633 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.165, allocations: 324.4 kB / 0.9636 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/1.17, allocations: 2.61 MB / 0.9661 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/1.171, allocations: 1.224 MB / 0.9673 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/1.172, allocations: 159.2 kB / 0.9675 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/1.172, allocations: 0 / 0.9675 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.02914/1.201, allocations: 26.94 MB / 0.9938 GB, free: 159.8 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)