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.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00236/0.00236, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.28 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.218, allocations: 80.91 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006175/0.2242, allocations: 4.134 MB / 0.5877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5056/0.7298, allocations: 148.1 MB / 0.7324 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.7309, allocations: 18.5 kB / 0.7324 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007912/0.7318, allocations: 140.1 kB / 0.7326 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.7339, allocations: 396.3 kB / 0.7329 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.7363, allocations: 0.6904 MB / 0.7336 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.7379, allocations: 1.107 MB / 0.7347 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.7391, allocations: 0.585 MB / 0.7353 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008932/0.74, allocations: 371.8 kB / 0.7356 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009588/0.741, allocations: 419.7 kB / 0.736 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.7413, allocations: 51.19 kB / 0.7361 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.7425, allocations: 394.4 kB / 0.7365 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.7428, allocations: 223.7 kB / 0.7367 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006762/0.7435, allocations: 449.1 kB / 0.7371 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.7455, allocations: 1.402 MB / 0.7385 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.7455, allocations: 3.375 kB / 0.7385 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.7455, allocations: 0 / 0.7385 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.908e-05/0.7456, allocations: 0 / 0.7385 GB, free: 11.34 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.003277/0.7489, allocations: 1.315 MB / 0.7397 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.7489, allocations: 8.5 kB / 0.7398 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.7501, allocations: 175.8 kB / 0.7399 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.7513, allocations: 0.7094 MB / 0.7406 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.7514, allocations: 57.84 kB / 0.7407 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7515, allocations: 78.5 kB / 0.7407 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.753, allocations: 0.8623 MB / 0.7416 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.753, allocations: 1.375 kB / 0.7416 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.7531, allocations: 36.25 kB / 0.7416 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.7531, allocations: 19.25 kB / 0.7416 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.7549, allocations: 1.069 MB / 0.7427 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.7588, allocations: 2.368 MB / 0.745 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.7601, allocations: 0.7962 MB / 0.7458 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/0.7606, allocations: 274.6 kB / 0.746 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.7607, allocations: 30.03 kB / 0.7461 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008239/0.7615, allocations: 423.9 kB / 0.7465 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 3.066e-06/0.7615, allocations: 3.938 kB / 0.7465 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002921/0.7644, allocations: 1.075 MB / 0.7475 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.7646, allocations: 187.8 kB / 0.7477 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.7653, allocations: 0.5864 MB / 0.7483 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.7654, allocations: 42.64 kB / 0.7483 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.7657, allocations: 376.3 kB / 0.7487 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.766, allocations: 240.5 kB / 0.7489 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.7662, allocations: 154.5 kB / 0.7491 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.7664, allocations: 382.8 kB / 0.7494 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.7669, allocations: 229.9 kB / 0.7496 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.7674, allocations: 326.8 kB / 0.75 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.7685, allocations: 0.5549 MB / 0.7505 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7685, allocations: 0 / 0.7505 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001897/0.7704, allocations: 0.7783 MB / 0.7513 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7705, allocations: 5.594 kB / 0.7513 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7705, allocations: 3.984 kB / 0.7513 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.7711, allocations: 84.75 kB / 0.7513 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006168/0.7717, allocations: 143.8 kB / 0.7515 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.7739, allocations: 1.508 MB / 0.753 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.7746, allocations: 87.42 kB / 0.753 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.241e-05/0.7747, allocations: 33.22 kB / 0.7531 GB, free: 15.36 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 (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.0004641/0.7752, allocations: 249.7 kB / 0.7533 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.7754, allocations: 75.25 kB / 0.7534 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.7777, allocations: 1.008 MB / 0.7544 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.7777, allocations: 8 kB / 0.7544 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.7777, allocations: 7.562 kB / 0.7544 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.7778, allocations: 3.984 kB / 0.7544 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/0.781, allocations: 1.854 MB / 0.7562 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.781, allocations: 0 / 0.7562 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.7816, allocations: 143.8 kB / 0.7563 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005274/0.7821, allocations: 84.77 kB / 0.7564 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.7822, allocations: 27.92 kB / 0.7564 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001894/0.7841, allocations: 1.55 MB / 0.7579 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7841, allocations: 0 / 0.7579 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.7861, allocations: 0.914 MB / 0.7588 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/0.7866, allocations: 247.9 kB / 0.7591 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.7867, allocations: 19.91 kB / 0.7591 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.7874, allocations: 56.64 kB / 0.7592 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.7875, allocations: 64.91 kB / 0.7592 GB, free: 8.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.815e-05/0.7876, allocations: 27.98 kB / 0.7592 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006791/0.7883, allocations: 431 kB / 0.7597 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.75e-05/0.7883, allocations: 0 / 0.7597 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001081/0.7894, allocations: 291.2 kB / 0.7599 GB, free: 8.082 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.001548/0.791, allocations: 0.602 MB / 0.7605 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.7927, allocations: 0.7548 MB / 0.7613 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7927, allocations: 0 / 0.7613 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009515/0.7937, allocations: 0.4886 MB / 0.7617 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.795, allocations: 250.6 kB / 0.762 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.7992, allocations: 2.052 MB / 0.764 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.7999, allocations: 0.9957 MB / 0.7649 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008806/0.8008, allocations: 259.2 kB / 0.7652 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.801, allocations: 91.39 kB / 0.7653 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.801, allocations: 0 / 0.7653 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of Templates: time 0.02572/0.8268, allocations: 13.27 MB / 0.7782 GB, free: 5.621 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)