Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001264/0.001264, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002224/0.002224, allocations: 282.6 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9159/0.9159, allocations: 169.2 MB / 0.4985 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 87.45 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1938, allocations: 86.98 MB / 0.6803 GB, free: 8.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00676/0.2007, allocations: 4.318 MB / 0.6845 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5029/0.7036, allocations: 148.3 MB / 0.8293 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.7047, allocations: 15.94 kB / 0.8293 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.7053, allocations: 137.5 kB / 0.8295 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.707, allocations: 446.5 kB / 0.8299 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.7092, allocations: 0.7398 MB / 0.8306 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.7105, allocations: 1.297 MB / 0.8319 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009118/0.7114, allocations: 0.6297 MB / 0.8325 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.7121, allocations: 478.3 kB / 0.833 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005517/0.7126, allocations: 497.8 kB / 0.8334 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.7128, allocations: 116 kB / 0.8335 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.7137, allocations: 463.6 kB / 0.834 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.714, allocations: 295 kB / 0.8343 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.7144, allocations: 0.5402 MB / 0.8348 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.7157, allocations: 1.211 MB / 0.836 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7157, allocations: 0 / 0.836 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7157, allocations: 0 / 0.836 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.7157, allocations: 4 kB / 0.836 GB, free: 15.8 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00235/0.7181, allocations: 1.407 MB / 0.8374 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.7181, allocations: 8.031 kB / 0.8374 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008821/0.719, allocations: 187.4 kB / 0.8375 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.72, allocations: 0.7425 MB / 0.8383 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.7201, allocations: 58 kB / 0.8383 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.7202, allocations: 84 kB / 0.8384 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.7217, allocations: 0.9196 MB / 0.8393 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.7217, allocations: 0 / 0.8393 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.383e-05/0.7218, allocations: 40 kB / 0.8393 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.7218, allocations: 23.94 kB / 0.8394 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.7235, allocations: 1.108 MB / 0.8404 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.7271, allocations: 2.528 MB / 0.8429 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.7286, allocations: 0.8878 MB / 0.8438 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.7291, allocations: 302.7 kB / 0.8441 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.903e-05/0.7292, allocations: 28.56 kB / 0.8441 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008838/0.7301, allocations: 0.4914 MB / 0.8446 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=79): time 2.134e-06/0.7301, allocations: 0 / 0.8446 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=79): time 0.00301/0.7331, allocations: 1.19 MB / 0.8457 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.7332, allocations: 188.6 kB / 0.8459 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/0.734, allocations: 0.633 MB / 0.8465 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-05/0.734, allocations: 41.7 kB / 0.8466 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.7343, allocations: 392.3 kB / 0.8469 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.7345, allocations: 252.5 kB / 0.8472 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.7348, allocations: 166.4 kB / 0.8473 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.735, allocations: 390.7 kB / 0.8477 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004911/0.7355, allocations: 265.8 kB / 0.848 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.7361, allocations: 364.8 kB / 0.8483 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.7371, allocations: 0.6072 MB / 0.8489 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7371, allocations: 0 / 0.8489 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001837/0.739, allocations: 0.8448 MB / 0.8497 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.739, allocations: 12.09 kB / 0.8497 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.739, allocations: 0 / 0.8497 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.7396, allocations: 84.72 kB / 0.8498 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.7402, allocations: 163.7 kB / 0.85 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002101/0.7423, allocations: 1.64 MB / 0.8516 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.743, allocations: 96.09 kB / 0.8517 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.7431, allocations: 35.98 kB / 0.8517 GB, free: 15.16 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004353/0.7435, allocations: 271.6 kB / 0.852 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.7437, allocations: 79.06 kB / 0.852 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.746, allocations: 1.068 MB / 0.8531 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.746, allocations: 8 kB / 0.8531 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.746, allocations: 0 / 0.8531 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.746, allocations: 11.91 kB / 0.8531 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.7491, allocations: 1.953 MB / 0.855 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.7491, allocations: 0 / 0.855 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.7497, allocations: 143.8 kB / 0.8552 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/0.7501, allocations: 72.78 kB / 0.8552 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.7502, allocations: 27.92 kB / 0.8553 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.7521, allocations: 1.678 MB / 0.8569 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7521, allocations: 0 / 0.8569 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.754, allocations: 0.996 MB / 0.8579 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.7544, allocations: 275.7 kB / 0.8581 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.7545, allocations: 19.98 kB / 0.8581 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006094/0.7551, allocations: 62.75 kB / 0.8582 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.7553, allocations: 68.91 kB / 0.8583 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.7553, allocations: 39.91 kB / 0.8583 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005501/0.7559, allocations: 459 kB / 0.8587 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7559, allocations: 0 / 0.8587 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000866/0.7568, allocations: 303.3 kB / 0.859 GB, free: 7.391 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00137/0.7582, allocations: 0.5997 MB / 0.8596 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.7604, allocations: 1.034 MB / 0.8606 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7605, allocations: 0 / 0.8606 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009049/0.7614, allocations: 0.5121 MB / 0.8611 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.7626, allocations: 293.4 kB / 0.8614 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.7668, allocations: 2.198 MB / 0.8636 GB, free: 2.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/0.7675, allocations: 1.023 MB / 0.8646 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.7678, allocations: 115.4 kB / 0.8647 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of SimCode: time 6.32e-07/0.7678, allocations: 0 / 0.8647 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of Templates: time 0.02456/0.7924, allocations: 18.34 MB / 0.8826 GB, free: 15.47 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)