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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7919/0.7919, allocations: 143.4 MB / 159.2 MB, free: 4.859 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 188.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 99.03 kB / 0.5169 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 283.7 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 92.28 kB / 0.6885 GB, free: 3.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3974, allocations: 81.29 MB / 0.7679 GB, free: 27.62 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005865/0.4033, allocations: 4.891 MB / 0.7727 GB, free: 22.71 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.542/0.9453, allocations: 148.5 MB / 0.9177 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007493/0.9461, allocations: 20.22 kB / 0.9177 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005432/0.9467, allocations: 148.2 kB / 0.9178 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.9482, allocations: 479 kB / 0.9183 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.95, allocations: 0.8222 MB / 0.9191 GB, free: 15.77 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.9514, allocations: 1.45 MB / 0.9205 GB, free: 15.76 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.9526, allocations: 1.117 MB / 0.9216 GB, free: 15.54 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008506/0.9534, allocations: 0.6022 MB / 0.9222 GB, free: 15.54 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.9541, allocations: 0.6829 MB / 0.9229 GB, free: 15.54 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.9544, allocations: 107.4 kB / 0.923 GB, free: 15.54 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008541/0.9553, allocations: 449.5 kB / 0.9234 GB, free: 15.53 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.9556, allocations: 354.5 kB / 0.9237 GB, free: 15.53 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005767/0.9562, allocations: 0.7312 MB / 0.9245 GB, free: 15.53 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.9578, allocations: 2.184 MB / 0.9266 GB, free: 15.32 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.9579, allocations: 0 / 0.9266 GB, free: 15.32 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.52e-07/0.9579, allocations: 4 kB / 0.9266 GB, free: 15.32 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2e-05/0.9579, allocations: 0 / 0.9266 GB, free: 15.32 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002678/0.9606, allocations: 1.819 MB / 0.9284 GB, free: 14.41 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.9606, allocations: 12.09 kB / 0.9284 GB, free: 14.41 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009021/0.9615, allocations: 241.9 kB / 0.9286 GB, free: 14.32 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.9627, allocations: 0.8978 MB / 0.9295 GB, free: 13.97 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.9628, allocations: 140.6 kB / 0.9296 GB, free: 13.93 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.963, allocations: 139.8 kB / 0.9298 GB, free: 13.93 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.965, allocations: 1.464 MB / 0.9312 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.9651, allocations: 2.875 kB / 0.9312 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.9652, allocations: 64.34 kB / 0.9312 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.9652, allocations: 36.97 kB / 0.9313 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.9674, allocations: 1.493 MB / 0.9327 GB, free: 13.73 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005927/0.9733, allocations: 3.941 MB / 0.9366 GB, free: 12.79 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.9747, allocations: 0.9025 MB / 0.9375 GB, free: 12.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005845/0.9753, allocations: 373.8 kB / 0.9378 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.627e-05/0.9754, allocations: 50.75 kB / 0.9379 GB, free: 12.71 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009125/0.9763, allocations: 0.5393 MB / 0.9384 GB, free: 12.64 MB / 0.573 GB Notification: Performance of pre-optimization done (n=93): time 2.214e-06/0.9763, allocations: 0 / 0.9384 GB, free: 12.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=93): time 0.003063/0.9794, allocations: 1.37 MB / 0.9397 GB, free: 12.42 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.9795, allocations: 196.6 kB / 0.9399 GB, free: 12.2 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007908/0.9803, allocations: 0.7655 MB / 0.9407 GB, free: 12.06 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.9804, allocations: 45.48 kB / 0.9407 GB, free: 12.03 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.9807, allocations: 0.577 MB / 0.9413 GB, free: 11.75 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.9809, allocations: 305 kB / 0.9416 GB, free: 11.55 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.9812, allocations: 197 kB / 0.9418 GB, free: 11.53 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.9813, allocations: 342 kB / 0.9421 GB, free: 11.22 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.9818, allocations: 326.3 kB / 0.9424 GB, free: 11.22 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.9825, allocations: 437.3 kB / 0.9428 GB, free: 11.16 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.9837, allocations: 0.7678 MB / 0.9436 GB, free: 11.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9837, allocations: 0 / 0.9436 GB, free: 11.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001968/0.9857, allocations: 1.025 MB / 0.9446 GB, free: 10.98 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.9857, allocations: 6.594 kB / 0.9446 GB, free: 10.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.9857, allocations: 4 kB / 0.9446 GB, free: 10.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.9863, allocations: 89.45 kB / 0.9447 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007828/0.9871, allocations: 195.2 kB / 0.9448 GB, free: 10.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.9889, allocations: 1.535 MB / 0.9463 GB, free: 9.664 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007008/0.9896, allocations: 108 kB / 0.9464 GB, free: 9.621 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.786e-05/0.9897, allocations: 44.72 kB / 0.9465 GB, free: 9.621 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0004107/0.9901, allocations: 315.9 kB / 0.9468 GB, free: 9.508 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.9903, allocations: 108.9 kB / 0.9469 GB, free: 9.449 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.993, allocations: 1.285 MB / 0.9482 GB, free: 9.301 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.993, allocations: 10.12 kB / 0.9482 GB, free: 9.301 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.993, allocations: 0.75 kB / 0.9482 GB, free: 9.301 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.993, allocations: 4.828 kB / 0.9482 GB, free: 9.301 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/0.9967, allocations: 2.489 MB / 0.9506 GB, free: 8.844 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.9967, allocations: 10.12 kB / 0.9506 GB, free: 8.836 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/0.9974, allocations: 179 kB / 0.9508 GB, free: 8.812 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/0.9979, allocations: 86.27 kB / 0.9509 GB, free: 8.777 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.998, allocations: 28.02 kB / 0.9509 GB, free: 8.773 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/0.9996, allocations: 1.558 MB / 0.9524 GB, free: 7.41 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9996, allocations: 0 / 0.9524 GB, free: 7.41 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/1.003, allocations: 2.271 MB / 0.9546 GB, free: 6.395 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/1.003, allocations: 321.8 kB / 0.9549 GB, free: 6.184 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.003, allocations: 27.02 kB / 0.955 GB, free: 6.176 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/1.004, allocations: 56.94 kB / 0.955 GB, free: 6.16 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.004, allocations: 76.7 kB / 0.9551 GB, free: 6.133 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.683e-05/1.004, allocations: 37.72 kB / 0.9551 GB, free: 6.125 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006209/1.005, allocations: 0.5598 MB / 0.9557 GB, free: 5.848 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.005, allocations: 4 kB / 0.9557 GB, free: 5.844 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001033/1.006, allocations: 406.4 kB / 0.9561 GB, free: 5.711 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001295/1.007, allocations: 0.5979 MB / 0.9566 GB, free: 5.449 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001696/1.009, allocations: 0.9658 MB / 0.9576 GB, free: 4.953 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.009, allocations: 2.562 kB / 0.9576 GB, free: 4.953 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009196/1.01, allocations: 0.581 MB / 0.9582 GB, free: 4.652 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.011, allocations: 286.4 kB / 0.9584 GB, free: 4.508 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/1.016, allocations: 3.531 MB / 0.9619 GB, free: 2.059 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/1.016, allocations: 1.2 MB / 0.9631 GB, free: 1.137 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008414/1.017, allocations: 286.7 kB / 0.9633 GB, free: 1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/1.018, allocations: 121.2 kB / 0.9634 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of SimCode: time 6.22e-07/1.018, allocations: 7.938 kB / 0.9634 GB, free: 0.957 MB / 0.573 GB Notification: Performance of Templates: time 0.02465/1.042, allocations: 17.05 MB / 0.9801 GB, free: 5.27 MB / 0.5886 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)