Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001078/0.001078, allocations: 177.3 kB / 15.94 MB, free: 228 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.54/1.54, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9327/0.9327, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 8 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2061, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005314/0.2114, allocations: 3.526 MB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5453/0.7568, allocations: 127.5 MB / 0.7152 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007768/0.7576, allocations: 16.69 kB / 0.7152 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.7581, allocations: 80.06 kB / 0.7153 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.7598, allocations: 466.3 kB / 0.7157 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.7621, allocations: 0.6321 MB / 0.7163 GB, free: 14.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.7636, allocations: 0.7691 MB / 0.7171 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008876/0.7645, allocations: 487.7 kB / 0.7175 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006691/0.7652, allocations: 317.9 kB / 0.7179 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.7657, allocations: 311.1 kB / 0.7181 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.165e-05/0.7658, allocations: 22.19 kB / 0.7182 GB, free: 13.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.7669, allocations: 326 kB / 0.7185 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.7672, allocations: 172.2 kB / 0.7186 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.7674, allocations: 180.4 kB / 0.7188 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.7691, allocations: 1.108 MB / 0.7199 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7691, allocations: 0 / 0.7199 GB, free: 12.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7692, allocations: 0 / 0.7199 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.7692, allocations: 0 / 0.7199 GB, free: 12.96 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002419/0.7716, allocations: 1.169 MB / 0.721 GB, free: 12.14 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.7717, allocations: 12.97 kB / 0.7211 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009415/0.7726, allocations: 194 kB / 0.7212 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.7739, allocations: 0.6866 MB / 0.7219 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/0.774, allocations: 63.44 kB / 0.722 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.7741, allocations: 86.89 kB / 0.7221 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.7762, allocations: 0.89 MB / 0.7229 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.7762, allocations: 1.125 kB / 0.7229 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/0.7763, allocations: 36.12 kB / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-05/0.7763, allocations: 20.12 kB / 0.723 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.7786, allocations: 1.104 MB / 0.7241 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005291/0.7839, allocations: 2.547 MB / 0.7265 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.7859, allocations: 0.8777 MB / 0.7274 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.28e-05/0.786, allocations: 29.16 kB / 0.7274 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008545/0.7869, allocations: 444.2 kB / 0.7279 GB, free: 8.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/0.7869, allocations: 4 kB / 0.7279 GB, free: 8.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.002907/0.7898, allocations: 1.135 MB / 0.729 GB, free: 8.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.7899, allocations: 189.3 kB / 0.7291 GB, free: 8.191 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/0.7907, allocations: 0.5904 MB / 0.7297 GB, free: 7.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.7908, allocations: 39.98 kB / 0.7298 GB, free: 7.891 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.7911, allocations: 380 kB / 0.7301 GB, free: 7.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.7913, allocations: 258 kB / 0.7304 GB, free: 7.387 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.7913, allocations: 10.94 kB / 0.7304 GB, free: 7.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.7915, allocations: 381.7 kB / 0.7307 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.792, allocations: 228.8 kB / 0.731 GB, free: 6.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005038/0.7925, allocations: 331.9 kB / 0.7313 GB, free: 6.789 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.793, allocations: 282.3 kB / 0.7315 GB, free: 6.668 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.793, allocations: 0 / 0.7315 GB, free: 6.668 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001571/0.7945, allocations: 0.7614 MB / 0.7323 GB, free: 6.367 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7946, allocations: 4.531 kB / 0.7323 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7946, allocations: 4.641 kB / 0.7323 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.7951, allocations: 85.56 kB / 0.7324 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.7957, allocations: 146.1 kB / 0.7325 GB, free: 6.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.7979, allocations: 1.531 MB / 0.734 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/0.7986, allocations: 97.45 kB / 0.7341 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/0.7987, allocations: 28.31 kB / 0.7341 GB, free: 4.844 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0004364/0.7991, allocations: 254.4 kB / 0.7344 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.7992, allocations: 76.03 kB / 0.7344 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.8014, allocations: 1.075 MB / 0.7355 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.8014, allocations: 8 kB / 0.7355 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.8014, allocations: 4 kB / 0.7355 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.8014, allocations: 10.09 kB / 0.7355 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.8045, allocations: 1.937 MB / 0.7374 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.8045, allocations: 0 / 0.7374 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.8051, allocations: 163.7 kB / 0.7376 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/0.8056, allocations: 84.77 kB / 0.7376 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.156e-05/0.8056, allocations: 23.98 kB / 0.7377 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.8073, allocations: 1.548 MB / 0.7392 GB, free: 136 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.8073, allocations: 8.047 kB / 0.7392 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.8091, allocations: 0.957 MB / 0.7401 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.8095, allocations: 287.6 kB / 0.7404 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.8096, allocations: 16 kB / 0.7404 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.8102, allocations: 67.94 kB / 0.7405 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.8103, allocations: 64.91 kB / 0.7405 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.8104, allocations: 39.94 kB / 0.7406 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005041/0.8109, allocations: 427 kB / 0.741 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8109, allocations: 0 / 0.741 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009349/0.8118, allocations: 315.2 kB / 0.7413 GB, free: 13.94 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 (93): * Single equations (assignments): 90 * 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.001219/0.8131, allocations: 0.6169 MB / 0.7419 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.8145, allocations: 0.7584 MB / 0.7426 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8145, allocations: 0 / 0.7426 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008006/0.8153, allocations: 0.5163 MB / 0.7431 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009859/0.8163, allocations: 233.6 kB / 0.7434 GB, free: 12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.8199, allocations: 2.101 MB / 0.7454 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.8205, allocations: 1.039 MB / 0.7464 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007809/0.8213, allocations: 258.5 kB / 0.7467 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002341/0.8216, allocations: 103.4 kB / 0.7468 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.8216, allocations: 0 / 0.7468 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of Templates: time 0.02373/0.8453, allocations: 13.27 MB / 0.7597 GB, free: 11.34 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) Environment - environmentSimulation: