Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009002, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00102/0.00102, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004355/0.0004357, allocations: 8 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 82.32 MB / 0.5874 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005768/0.2287, allocations: 3.522 MB / 0.5908 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5513/0.7801, allocations: 136.7 MB / 0.7243 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009821/0.7811, allocations: 14.47 kB / 0.7243 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.7818, allocations: 130.5 kB / 0.7244 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.7837, allocations: 393.7 kB / 0.7248 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.7862, allocations: 0.6059 MB / 0.7254 GB, free: 7.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.7883, allocations: 1.018 MB / 0.7264 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.7898, allocations: 463.7 kB / 0.7268 GB, free: 6.508 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.7913, allocations: 295.3 kB / 0.7271 GB, free: 6.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.7926, allocations: 316.4 kB / 0.7274 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004206/0.7931, allocations: 21.41 kB / 0.7274 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.7949, allocations: 334.5 kB / 0.7277 GB, free: 6.152 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006027/0.7955, allocations: 168.7 kB / 0.7279 GB, free: 6.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006874/0.7962, allocations: 177.1 kB / 0.7281 GB, free: 5.945 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003242/0.7995, allocations: 1.059 MB / 0.7291 GB, free: 5.668 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.7995, allocations: 0 / 0.7291 GB, free: 5.668 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.767e-06/0.7995, allocations: 1.062 kB / 0.7291 GB, free: 5.668 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001127/0.7997, allocations: 3.938 kB / 0.7291 GB, free: 5.664 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.004335/0.804, allocations: 1.132 MB / 0.7302 GB, free: 4.863 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.8041, allocations: 9.188 kB / 0.7302 GB, free: 4.863 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.8055, allocations: 193.4 kB / 0.7304 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.8072, allocations: 0.679 MB / 0.7311 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/0.8073, allocations: 58.72 kB / 0.7311 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.8074, allocations: 81.14 kB / 0.7312 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.8092, allocations: 0.8556 MB / 0.732 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.8092, allocations: 0 / 0.732 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.8093, allocations: 36.06 kB / 0.7321 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.8093, allocations: 20.7 kB / 0.7321 GB, free: 3.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.8111, allocations: 1.071 MB / 0.7331 GB, free: 3.625 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004072/0.8152, allocations: 2.403 MB / 0.7355 GB, free: 2.277 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.8165, allocations: 0.7939 MB / 0.7363 GB, free: 1.914 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/0.817, allocations: 281.5 kB / 0.7365 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.911e-05/0.8171, allocations: 25.91 kB / 0.7366 GB, free: 1.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007542/0.8179, allocations: 436.3 kB / 0.737 GB, free: 1.484 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.154e-06/0.8179, allocations: 4 kB / 0.737 GB, free: 1.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.002554/0.8205, allocations: 1.076 MB / 0.738 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/0.8206, allocations: 189.4 kB / 0.7382 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.8213, allocations: 0.5865 MB / 0.7388 GB, free: 332 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.8214, allocations: 40.64 kB / 0.7388 GB, free: 288 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.8217, allocations: 372 kB / 0.7392 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.8219, allocations: 239.4 kB / 0.7394 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.8219, allocations: 19.09 kB / 0.7394 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.8221, allocations: 377.7 kB / 0.7398 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.8225, allocations: 239 kB / 0.74 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.823, allocations: 327.1 kB / 0.7403 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000498/0.8235, allocations: 275.2 kB / 0.7406 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8235, allocations: 0 / 0.7406 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00159/0.8251, allocations: 0.7822 MB / 0.7414 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.8252, allocations: 3.344 kB / 0.7414 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.8252, allocations: 3.281 kB / 0.7414 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.8257, allocations: 81.97 kB / 0.7414 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/0.8264, allocations: 144.8 kB / 0.7416 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.8289, allocations: 1.52 MB / 0.7431 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.8297, allocations: 81.55 kB / 0.7431 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.8298, allocations: 39.44 kB / 0.7432 GB, free: 12.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005433/0.8303, allocations: 264.3 kB / 0.7434 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.8305, allocations: 75.06 kB / 0.7435 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.8327, allocations: 1.002 MB / 0.7445 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.8327, allocations: 16.02 kB / 0.7445 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.8328, allocations: 0 / 0.7445 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.8328, allocations: 7.984 kB / 0.7445 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.8362, allocations: 1.854 MB / 0.7463 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.8362, allocations: 0 / 0.7463 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005336/0.8368, allocations: 151.8 kB / 0.7465 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/0.8373, allocations: 84.77 kB / 0.7465 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.342e-05/0.8374, allocations: 23.98 kB / 0.7466 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.8391, allocations: 1.54 MB / 0.7481 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.8391, allocations: 0 / 0.7481 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.8409, allocations: 0.9179 MB / 0.749 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.8414, allocations: 271.7 kB / 0.7492 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.8415, allocations: 16 kB / 0.7492 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.8421, allocations: 67.95 kB / 0.7493 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.8422, allocations: 60.91 kB / 0.7494 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-05/0.8423, allocations: 31.98 kB / 0.7494 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006098/0.8429, allocations: 427 kB / 0.7498 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8429, allocations: 0 / 0.7498 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00106/0.844, allocations: 291.3 kB / 0.7501 GB, free: 5.59 MB / 0.5606 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 (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/0.8455, allocations: 0.6005 MB / 0.7507 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.847, allocations: 0.7543 MB / 0.7514 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.8471, allocations: 3.984 kB / 0.7514 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008418/0.8479, allocations: 0.4891 MB / 0.7519 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.8492, allocations: 257.2 kB / 0.7521 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003799/0.853, allocations: 2.038 MB / 0.7541 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.8536, allocations: 1.003 MB / 0.7551 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008259/0.8544, allocations: 242.2 kB / 0.7553 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.8547, allocations: 99.39 kB / 0.7554 GB, free: 256 kB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.8547, allocations: 0 / 0.7554 GB, free: 256 kB / 0.5606 GB Notification: Performance of Templates: time 0.02519/0.8799, allocations: 12.79 MB / 0.7679 GB, free: 3.613 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)