Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0011/0.0011, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.398/1.398, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9451/0.9451, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 61.48 kB / 0.5053 GB, free: 5.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.227, allocations: 80.92 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005768/0.2328, allocations: 4.072 MB / 0.5883 GB, free: 488 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5114/0.7442, allocations: 150.4 MB / 0.7353 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009378/0.7452, allocations: 15.09 kB / 0.7353 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006251/0.7459, allocations: 166.1 kB / 0.7354 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.7478, allocations: 479.2 kB / 0.7359 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.7501, allocations: 0.7813 MB / 0.7367 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001828/0.7519, allocations: 1.165 MB / 0.7378 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.7532, allocations: 0.6149 MB / 0.7384 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008546/0.7541, allocations: 424.2 kB / 0.7388 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006362/0.7547, allocations: 443.7 kB / 0.7392 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.7549, allocations: 104.8 kB / 0.7393 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.7559, allocations: 446.1 kB / 0.7397 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.7562, allocations: 271.8 kB / 0.74 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.7567, allocations: 499.1 kB / 0.7405 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.7584, allocations: 1.451 MB / 0.7419 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.7584, allocations: 0 / 0.7419 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7584, allocations: 0 / 0.7419 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.783e-05/0.7585, allocations: 4 kB / 0.7419 GB, free: 8.562 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002474/0.761, allocations: 1.311 MB / 0.7432 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.761, allocations: 10.78 kB / 0.7432 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/0.762, allocations: 173.6 kB / 0.7434 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.763, allocations: 0.7058 MB / 0.744 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.7631, allocations: 56.25 kB / 0.7441 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.7632, allocations: 82.86 kB / 0.7442 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.7647, allocations: 0.8555 MB / 0.745 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.7647, allocations: 0 / 0.745 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.481e-05/0.7648, allocations: 36.09 kB / 0.745 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.7649, allocations: 23.12 kB / 0.7451 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.7665, allocations: 1.055 MB / 0.7461 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.7709, allocations: 2.39 MB / 0.7484 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.7723, allocations: 0.7998 MB / 0.7492 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.7728, allocations: 272 kB / 0.7495 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.217e-05/0.7729, allocations: 29.72 kB / 0.7495 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009246/0.7738, allocations: 421.5 kB / 0.7499 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.945e-06/0.7738, allocations: 0 / 0.7499 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002993/0.7768, allocations: 1.066 MB / 0.7509 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.7771, allocations: 200.5 kB / 0.7511 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.7779, allocations: 0.5783 MB / 0.7517 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/0.778, allocations: 41.7 kB / 0.7517 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.7784, allocations: 364.3 kB / 0.7521 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.7786, allocations: 232.6 kB / 0.7523 GB, free: 432 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.7789, allocations: 142.5 kB / 0.7524 GB, free: 284 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.7791, allocations: 378.8 kB / 0.7528 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004646/0.7795, allocations: 237.9 kB / 0.753 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.7801, allocations: 322.8 kB / 0.7533 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.7812, allocations: 0.5429 MB / 0.7539 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.7812, allocations: 0 / 0.7539 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001867/0.7831, allocations: 0.7665 MB / 0.7546 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.7831, allocations: 10.5 kB / 0.7546 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.7831, allocations: 0 / 0.7546 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.7838, allocations: 80.88 kB / 0.7547 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.7844, allocations: 145 kB / 0.7548 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.7867, allocations: 1.649 MB / 0.7565 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.7874, allocations: 75.5 kB / 0.7565 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.7875, allocations: 41.03 kB / 0.7566 GB, free: 11.88 MB / 0.5762 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 (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 (81): * Single equations (assignments): 80 * 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.0004495/0.788, allocations: 253.8 kB / 0.7568 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.7881, allocations: 75.06 kB / 0.7569 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.7904, allocations: 0.9644 MB / 0.7578 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.7904, allocations: 8 kB / 0.7578 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.7904, allocations: 0 / 0.7578 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.7905, allocations: 7.969 kB / 0.7578 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/0.7937, allocations: 1.829 MB / 0.7596 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7937, allocations: 4 kB / 0.7596 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.7942, allocations: 135.8 kB / 0.7598 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/0.7947, allocations: 76.72 kB / 0.7598 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.7948, allocations: 27.98 kB / 0.7599 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.7969, allocations: 1.67 MB / 0.7615 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.797, allocations: 0 / 0.7615 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.7989, allocations: 0.8946 MB / 0.7624 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.7993, allocations: 255.8 kB / 0.7626 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.7994, allocations: 15.94 kB / 0.7626 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/0.8, allocations: 52.64 kB / 0.7627 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.8002, allocations: 60.92 kB / 0.7627 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.8002, allocations: 27.98 kB / 0.7628 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005473/0.8008, allocations: 431 kB / 0.7632 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8008, allocations: 0 / 0.7632 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009718/0.8018, allocations: 275.4 kB / 0.7634 GB, free: 4.594 MB / 0.5762 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 (81): * Single equations (assignments): 78 * 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.001363/0.8031, allocations: 0.6003 MB / 0.764 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.8053, allocations: 0.9303 MB / 0.7649 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.8054, allocations: 0 / 0.7649 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000854/0.8062, allocations: 492.5 kB / 0.7654 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.8075, allocations: 281.4 kB / 0.7657 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.8112, allocations: 1.645 MB / 0.7673 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006003/0.8118, allocations: 0.9953 MB / 0.7682 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000807/0.8126, allocations: 246 kB / 0.7685 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.8129, allocations: 91.39 kB / 0.7686 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of SimCode: time 7.42e-07/0.8129, allocations: 0 / 0.7686 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.027/0.8399, allocations: 13.63 MB / 0.7819 GB, free: 2.02 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)