Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008854/0.0008854, 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.006706/0.006706, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7954/0.7954, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 8.562 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.57/0.5704, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004476/0.5749, allocations: 3.688 MB / 0.5873 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.178/0.7529, allocations: 146.5 MB / 0.7304 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008929/0.7538, allocations: 15.94 kB / 0.7304 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006635/0.7545, allocations: 135 kB / 0.7305 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.7565, allocations: 389 kB / 0.7309 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.7584, allocations: 0.6884 MB / 0.7316 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.7598, allocations: 1.086 MB / 0.7326 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000892/0.7607, allocations: 0.5821 MB / 0.7332 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.7613, allocations: 298.5 kB / 0.7335 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005109/0.7618, allocations: 322.1 kB / 0.7338 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.536e-05/0.7619, allocations: 24 kB / 0.7338 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007388/0.7627, allocations: 363.6 kB / 0.7342 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.7629, allocations: 163.2 kB / 0.7343 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004096/0.7633, allocations: 415.1 kB / 0.7347 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.7648, allocations: 1.351 MB / 0.736 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7648, allocations: 0 / 0.736 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7649, allocations: 4 kB / 0.736 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.992e-05/0.7649, allocations: 0 / 0.736 GB, free: 3.895 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.002125/0.767, allocations: 1.116 MB / 0.7371 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.7671, allocations: 8.031 kB / 0.7371 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000982/0.7681, allocations: 191.5 kB / 0.7373 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.7692, allocations: 0.6955 MB / 0.738 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.333e-05/0.7693, allocations: 58 kB / 0.738 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.7694, allocations: 79.98 kB / 0.7381 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.771, allocations: 0.8637 MB / 0.739 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.771, allocations: 4 kB / 0.739 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.7712, allocations: 36 kB / 0.739 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.7712, allocations: 20 kB / 0.739 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.773, allocations: 1.065 MB / 0.7401 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/0.7774, allocations: 2.421 MB / 0.7424 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.779, allocations: 0.8084 MB / 0.7432 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005552/0.7795, allocations: 274.4 kB / 0.7435 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.4e-05/0.7796, allocations: 28.59 kB / 0.7435 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/0.7805, allocations: 429.7 kB / 0.7439 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.886e-06/0.7805, allocations: 0 / 0.7439 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.003273/0.7838, allocations: 1.082 MB / 0.745 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.7839, allocations: 196.5 kB / 0.7452 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.7851, allocations: 0.5744 MB / 0.7457 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.7852, allocations: 45.7 kB / 0.7458 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003122/0.7855, allocations: 372.2 kB / 0.7461 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.7857, allocations: 224.7 kB / 0.7463 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.7859, allocations: 65.69 kB / 0.7464 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.786, allocations: 374.8 kB / 0.7467 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.7867, allocations: 237.9 kB / 0.747 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009584/0.7877, allocations: 326.8 kB / 0.7473 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.7888, allocations: 0.5585 MB / 0.7478 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.7889, allocations: 0 / 0.7478 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002032/0.7909, allocations: 0.7704 MB / 0.7486 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.7909, allocations: 4 kB / 0.7486 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.7909, allocations: 4.094 kB / 0.7486 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000611/0.7916, allocations: 80.77 kB / 0.7487 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.7922, allocations: 151.8 kB / 0.7488 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.7945, allocations: 1.532 MB / 0.7503 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.7952, allocations: 87.39 kB / 0.7504 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.7953, allocations: 31.98 kB / 0.7504 GB, free: 4.617 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.0004698/0.7958, allocations: 251.2 kB / 0.7507 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.796, allocations: 75.06 kB / 0.7507 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002755/0.7987, allocations: 0.9783 MB / 0.7517 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.7988, allocations: 8 kB / 0.7517 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7988, allocations: 4.031 kB / 0.7517 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.7988, allocations: 7.922 kB / 0.7517 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.8037, allocations: 1.84 MB / 0.7535 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.8037, allocations: 0 / 0.7535 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008989/0.8046, allocations: 139.8 kB / 0.7536 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007859/0.8054, allocations: 80.77 kB / 0.7537 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/0.8055, allocations: 27.98 kB / 0.7537 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002758/0.8083, allocations: 1.559 MB / 0.7553 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8083, allocations: 0 / 0.7553 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.8112, allocations: 0.9102 MB / 0.7562 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006647/0.8119, allocations: 267.8 kB / 0.7564 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.8121, allocations: 16 kB / 0.7564 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/0.813, allocations: 69.81 kB / 0.7565 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.8132, allocations: 52.92 kB / 0.7565 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.8134, allocations: 31.98 kB / 0.7566 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009174/0.8143, allocations: 423 kB / 0.757 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8143, allocations: 0 / 0.757 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001411/0.8157, allocations: 291.2 kB / 0.7573 GB, free: 13.37 MB / 0.5919 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.002276/0.818, allocations: 0.6064 MB / 0.7578 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.8204, allocations: 0.7513 MB / 0.7586 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.8204, allocations: 4 kB / 0.7586 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.8218, allocations: 484.3 kB / 0.759 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/0.8237, allocations: 250 kB / 0.7593 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.8296, allocations: 2.077 MB / 0.7613 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009429/0.8306, allocations: 0.9886 MB / 0.7623 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001286/0.8319, allocations: 254 kB / 0.7625 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.8323, allocations: 95.39 kB / 0.7626 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of SimCode: time 1.192e-06/0.8323, allocations: 0 / 0.7626 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of Templates: time 0.03487/0.8672, allocations: 13.03 MB / 0.7753 GB, free: 11.15 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)