Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001189/0.00119, 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.00118/0.00118, allocations: 194 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9911/0.9911, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 60.59 kB / 0.5053 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1877, allocations: 80.92 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006553/0.1943, allocations: 4.208 MB / 0.5885 GB, free: 320 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4955/0.6899, allocations: 150.6 MB / 0.7355 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009272/0.6909, allocations: 19.41 kB / 0.7355 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008242/0.6918, allocations: 175.2 kB / 0.7357 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.694, allocations: 478.2 kB / 0.7361 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.6967, allocations: 0.8163 MB / 0.7369 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.6987, allocations: 1.222 MB / 0.7381 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.7, allocations: 0.63 MB / 0.7388 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009334/0.7009, allocations: 450.1 kB / 0.7392 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009577/0.7019, allocations: 469.3 kB / 0.7396 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003197/0.7022, allocations: 111.4 kB / 0.7397 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.7037, allocations: 469.5 kB / 0.7402 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.7041, allocations: 276.6 kB / 0.7404 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008902/0.705, allocations: 0.5047 MB / 0.7409 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002695/0.7077, allocations: 1.504 MB / 0.7424 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7078, allocations: 0 / 0.7424 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7078, allocations: 3.938 kB / 0.7424 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.015e-05/0.7078, allocations: 0 / 0.7424 GB, free: 8.227 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002951/0.7108, allocations: 1.352 MB / 0.7437 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.7108, allocations: 17.38 kB / 0.7438 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.7119, allocations: 184.8 kB / 0.7439 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000995/0.7129, allocations: 0.7086 MB / 0.7446 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.7129, allocations: 63.61 kB / 0.7447 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.713, allocations: 85.62 kB / 0.7448 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.7145, allocations: 0.9043 MB / 0.7456 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.7146, allocations: 0 / 0.7456 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.7147, allocations: 33.03 kB / 0.7457 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.7147, allocations: 21.62 kB / 0.7457 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.7164, allocations: 1.097 MB / 0.7468 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/0.7204, allocations: 2.524 MB / 0.7492 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.7223, allocations: 0.8726 MB / 0.7501 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.7229, allocations: 287.6 kB / 0.7504 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-05/0.7229, allocations: 37.44 kB / 0.7504 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008763/0.7238, allocations: 447.2 kB / 0.7508 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.564e-06/0.7238, allocations: 0 / 0.7508 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003076/0.7269, allocations: 1.12 MB / 0.7519 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.7271, allocations: 188.6 kB / 0.7521 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009208/0.728, allocations: 0.6056 MB / 0.7527 GB, free: 64 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-05/0.7281, allocations: 37.7 kB / 0.7527 GB, free: 20 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.7285, allocations: 385.5 kB / 0.7531 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.7288, allocations: 252.4 kB / 0.7533 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.729, allocations: 158.5 kB / 0.7535 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.7292, allocations: 386.7 kB / 0.7538 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.7297, allocations: 245.9 kB / 0.7541 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.7304, allocations: 347 kB / 0.7544 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.7315, allocations: 0.576 MB / 0.755 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.7315, allocations: 0 / 0.755 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00204/0.7336, allocations: 0.8137 MB / 0.7558 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.7336, allocations: 14.5 kB / 0.7558 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.7336, allocations: 1.562 kB / 0.7558 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006343/0.7343, allocations: 84.77 kB / 0.7559 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.7349, allocations: 151.8 kB / 0.756 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.7373, allocations: 1.631 MB / 0.7576 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008397/0.7381, allocations: 87.55 kB / 0.7577 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/0.7382, allocations: 35.97 kB / 0.7577 GB, free: 10.7 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: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (88): * Single equations (assignments): 87 * 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.0005502/0.7388, allocations: 262.2 kB / 0.758 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002744/0.7391, allocations: 78.62 kB / 0.758 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.7417, allocations: 1.056 MB / 0.7591 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.7417, allocations: 8 kB / 0.7591 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7417, allocations: 0 / 0.7591 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.7417, allocations: 11.91 kB / 0.7591 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/0.7453, allocations: 1.934 MB / 0.761 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.7454, allocations: 0 / 0.761 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000639/0.746, allocations: 159.7 kB / 0.7611 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/0.7465, allocations: 68.8 kB / 0.7612 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.7466, allocations: 27.97 kB / 0.7612 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.7486, allocations: 1.656 MB / 0.7628 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.7486, allocations: 3.938 kB / 0.7629 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.7507, allocations: 0.9609 MB / 0.7638 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.7511, allocations: 267.7 kB / 0.764 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.7513, allocations: 19.98 kB / 0.7641 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/0.752, allocations: 56.08 kB / 0.7641 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.7522, allocations: 64.91 kB / 0.7642 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.7522, allocations: 39.97 kB / 0.7642 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005962/0.7528, allocations: 431 kB / 0.7646 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7528, allocations: 4 kB / 0.7646 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001/0.7539, allocations: 299.3 kB / 0.7649 GB, free: 3.078 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 (93): * Single equations (assignments): 90 * 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.001492/0.7554, allocations: 0.623 MB / 0.7655 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002459/0.7578, allocations: 0.9949 MB / 0.7665 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.7578, allocations: 192 / 0.7665 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009487/0.7588, allocations: 0.5119 MB / 0.767 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.7603, allocations: 286.8 kB / 0.7673 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/0.7645, allocations: 1.728 MB / 0.769 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.7652, allocations: 1.012 MB / 0.7699 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000862/0.7661, allocations: 258.3 kB / 0.7702 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.7663, allocations: 107.4 kB / 0.7703 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of SimCode: time 1.052e-06/0.7663, allocations: 0 / 0.7703 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of Templates: time 0.02572/0.7921, allocations: 14.31 MB / 0.7843 GB, free: 15.56 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)