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.0009422/0.0009421, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006935/0.006935, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9385/0.9385, allocations: 135.3 MB / 426.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 8 kB / 0.5076 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1895, allocations: 82.3 MB / 0.588 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00517/0.1947, allocations: 3.722 MB / 0.5916 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5054/0.7001, allocations: 146.5 MB / 0.7347 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009218/0.7011, allocations: 20.09 kB / 0.7347 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006012/0.7017, allocations: 131.4 kB / 0.7349 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.7033, allocations: 406.9 kB / 0.7352 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.7056, allocations: 0.6885 MB / 0.7359 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.7072, allocations: 1.1 MB / 0.737 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009505/0.7082, allocations: 0.5742 MB / 0.7376 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/0.7088, allocations: 306.1 kB / 0.7378 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004869/0.7093, allocations: 332.1 kB / 0.7382 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.063e-05/0.7094, allocations: 21.22 kB / 0.7382 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008925/0.7103, allocations: 363.8 kB / 0.7385 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.7105, allocations: 169.4 kB / 0.7387 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003747/0.7109, allocations: 414.8 kB / 0.7391 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.7125, allocations: 1.351 MB / 0.7404 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7126, allocations: 1.594 kB / 0.7404 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.076e-06/0.7126, allocations: 0 / 0.7404 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.625e-05/0.7126, allocations: 7.938 kB / 0.7404 GB, free: 11.96 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002032/0.7146, allocations: 1.119 MB / 0.7415 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.7147, allocations: 9.031 kB / 0.7415 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009147/0.7156, allocations: 193.5 kB / 0.7417 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.7166, allocations: 0.702 MB / 0.7424 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.909e-05/0.7167, allocations: 63.56 kB / 0.7424 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.7168, allocations: 73.66 kB / 0.7425 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.7184, allocations: 0.8707 MB / 0.7434 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.7184, allocations: 4.312 kB / 0.7434 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.591e-05/0.7185, allocations: 36.25 kB / 0.7434 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.7185, allocations: 19.25 kB / 0.7434 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.7203, allocations: 1.069 MB / 0.7445 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.7242, allocations: 2.418 MB / 0.7468 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.7255, allocations: 0.7999 MB / 0.7476 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.726, allocations: 274.9 kB / 0.7479 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-05/0.726, allocations: 35.27 kB / 0.7479 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000733/0.7268, allocations: 426.4 kB / 0.7483 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 4.258e-06/0.7268, allocations: 0 / 0.7483 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.00291/0.7297, allocations: 1.087 MB / 0.7494 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.7299, allocations: 201.8 kB / 0.7496 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007686/0.7306, allocations: 0.586 MB / 0.7501 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.7307, allocations: 39.45 kB / 0.7502 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.7311, allocations: 362.8 kB / 0.7505 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.7313, allocations: 246.1 kB / 0.7508 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-05/0.7314, allocations: 59.78 kB / 0.7508 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7315, allocations: 382 kB / 0.7512 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004469/0.732, allocations: 241.6 kB / 0.7514 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/0.7326, allocations: 330.8 kB / 0.7517 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000987/0.7336, allocations: 0.555 MB / 0.7523 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7336, allocations: 0 / 0.7523 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001855/0.7355, allocations: 0.7783 MB / 0.753 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7355, allocations: 4 kB / 0.753 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.7355, allocations: 7.984 kB / 0.753 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000621/0.7361, allocations: 84.81 kB / 0.7531 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007032/0.7368, allocations: 147.8 kB / 0.7533 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.739, allocations: 1.529 MB / 0.7548 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.7397, allocations: 93.53 kB / 0.7548 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.7398, allocations: 31.97 kB / 0.7549 GB, free: 0.9336 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 (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 (83): * Single equations (assignments): 82 * 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.0004726/0.7403, allocations: 253.8 kB / 0.7551 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.7404, allocations: 75.06 kB / 0.7552 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.7427, allocations: 1.011 MB / 0.7562 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.7428, allocations: 8 kB / 0.7562 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7428, allocations: 4 kB / 0.7562 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.7428, allocations: 3.984 kB / 0.7562 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.7458, allocations: 1.858 MB / 0.758 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7459, allocations: 0 / 0.758 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.7464, allocations: 143.8 kB / 0.7581 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005312/0.7469, allocations: 88.75 kB / 0.7582 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.747, allocations: 27.92 kB / 0.7583 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.7488, allocations: 1.549 MB / 0.7598 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7488, allocations: 0 / 0.7598 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.7506, allocations: 0.918 MB / 0.7607 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.751, allocations: 267.7 kB / 0.7609 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.7511, allocations: 19.98 kB / 0.7609 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.7517, allocations: 63.95 kB / 0.761 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.7518, allocations: 64.91 kB / 0.7611 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/0.7519, allocations: 27.98 kB / 0.7611 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005405/0.7524, allocations: 435 kB / 0.7615 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7524, allocations: 0 / 0.7615 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009261/0.7534, allocations: 291.3 kB / 0.7618 GB, free: 9.613 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 (86): * Single equations (assignments): 83 * 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.001352/0.7547, allocations: 0.6046 MB / 0.7624 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.7562, allocations: 0.7664 MB / 0.7631 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7563, allocations: 0 / 0.7631 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000856/0.7571, allocations: 0.4887 MB / 0.7636 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.7584, allocations: 260.2 kB / 0.7638 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.7624, allocations: 2.104 MB / 0.7659 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000559/0.763, allocations: 1.003 MB / 0.7669 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007879/0.7638, allocations: 251.7 kB / 0.7671 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.764, allocations: 99.39 kB / 0.7672 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.764, allocations: 0 / 0.7672 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of Templates: time 0.02673/0.7907, allocations: 13.17 MB / 0.7801 GB, free: 7.172 MB / 0.5919 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)