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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007603/0.0007603, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008526/0.0008526, allocations: 172.7 kB / 15.95 MB, free: 208 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.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.747/0.747, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003043/0.0003043, allocations: 12 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3952, allocations: 81.56 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004161/0.3994, allocations: 3.503 MB / 0.5866 GB, free: 1.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.141/0.5404, allocations: 136.7 MB / 0.72 GB, free: 4.039 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006545/0.5411, allocations: 19.88 kB / 0.72 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005141/0.5416, allocations: 123 kB / 0.7201 GB, free: 3.898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.543, allocations: 390.4 kB / 0.7205 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.5445, allocations: 0.6025 MB / 0.7211 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.5456, allocations: 1.004 MB / 0.7221 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006168/0.5463, allocations: 475.1 kB / 0.7225 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.5467, allocations: 286.6 kB / 0.7228 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.547, allocations: 310.3 kB / 0.7231 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.5471, allocations: 24 kB / 0.7231 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006431/0.5478, allocations: 327.7 kB / 0.7234 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.5479, allocations: 167.2 kB / 0.7236 GB, free: 364 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.5481, allocations: 173.2 kB / 0.7238 GB, free: 184 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.5491, allocations: 1.072 MB / 0.7248 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5491, allocations: 0 / 0.7248 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.91e-07/0.5491, allocations: 0 / 0.7248 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.5491, allocations: 0 / 0.7248 GB, free: 15.11 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.00184/0.5509, allocations: 1.136 MB / 0.7259 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.551, allocations: 8.031 kB / 0.7259 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.5511, allocations: 126.9 kB / 0.7261 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008766/0.552, allocations: 194.5 kB / 0.7262 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009872/0.553, allocations: 0.6681 MB / 0.7269 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.5531, allocations: 61.94 kB / 0.727 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-05/0.5532, allocations: 83.98 kB / 0.727 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.5546, allocations: 0.8481 MB / 0.7279 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5546, allocations: 0 / 0.7279 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-05/0.5547, allocations: 36 kB / 0.7279 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.5547, allocations: 20 kB / 0.7279 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.5563, allocations: 1.061 MB / 0.729 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/0.5598, allocations: 2.415 MB / 0.7313 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/0.561, allocations: 0.8007 MB / 0.7321 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.5615, allocations: 278.4 kB / 0.7324 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.877e-05/0.5616, allocations: 36.52 kB / 0.7324 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007318/0.5624, allocations: 418.8 kB / 0.7328 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.255e-06/0.5624, allocations: 0 / 0.7328 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002723/0.5651, allocations: 1.082 MB / 0.7338 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.5652, allocations: 188.6 kB / 0.734 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.5659, allocations: 0.5821 MB / 0.7346 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.566, allocations: 41.7 kB / 0.7346 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.5663, allocations: 372.3 kB / 0.735 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.5665, allocations: 232.6 kB / 0.7352 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.5665, allocations: 16 kB / 0.7352 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5666, allocations: 374.8 kB / 0.7356 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.5671, allocations: 213.2 kB / 0.7358 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005075/0.5676, allocations: 322.8 kB / 0.7361 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.5681, allocations: 259.1 kB / 0.7363 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5681, allocations: 4 kB / 0.7363 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001573/0.5697, allocations: 0.7236 MB / 0.7371 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5697, allocations: 4 kB / 0.7371 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5698, allocations: 0 / 0.7371 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.5703, allocations: 84.86 kB / 0.7371 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.5709, allocations: 135.8 kB / 0.7373 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.5728, allocations: 1.53 MB / 0.7388 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.5733, allocations: 75.39 kB / 0.7388 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.5734, allocations: 32.05 kB / 0.7389 GB, free: 184 kB / 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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.0004211/0.5738, allocations: 249.7 kB / 0.7391 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.574, allocations: 75.06 kB / 0.7392 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.5761, allocations: 0.978 MB / 0.7401 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.5761, allocations: 8 kB / 0.7401 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5761, allocations: 4 kB / 0.7401 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.5762, allocations: 3.984 kB / 0.7401 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002963/0.5791, allocations: 1.852 MB / 0.742 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.5791, allocations: 0 / 0.742 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/0.5797, allocations: 135.8 kB / 0.7421 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.5802, allocations: 88.77 kB / 0.7422 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.5802, allocations: 23.92 kB / 0.7422 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.582, allocations: 1.548 MB / 0.7437 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.582, allocations: 4 kB / 0.7437 GB, free: 11 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.5837, allocations: 0.9023 MB / 0.7446 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/0.5841, allocations: 271.7 kB / 0.7448 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5842, allocations: 16 kB / 0.7449 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.5848, allocations: 69.62 kB / 0.7449 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.5849, allocations: 56.92 kB / 0.745 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.585, allocations: 27.98 kB / 0.745 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005381/0.5855, allocations: 427 kB / 0.7454 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5855, allocations: 0 / 0.7454 GB, free: 9.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00081/0.5864, allocations: 279.3 kB / 0.7457 GB, free: 8.949 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 (81): * Single equations (assignments): 78 * 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.003056/0.5894, allocations: 1.935 MB / 0.7476 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.591, allocations: 0.7122 MB / 0.7483 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.591, allocations: 4 kB / 0.7483 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008446/0.5918, allocations: 488.3 kB / 0.7487 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.5931, allocations: 248.4 kB / 0.749 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009343/0.6025, allocations: 4.617 MB / 0.7535 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.6031, allocations: 1 MB / 0.7545 GB, free: 56 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008269/0.6039, allocations: 257.9 kB / 0.7547 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.6044, allocations: 339.3 kB / 0.755 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.6044, allocations: 0 / 0.755 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/0.6415, allocations: 19.61 MB / 0.7742 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.6418, allocations: 266.3 kB / 0.7744 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.777, allocations: 0 / 0.7744 GB, free: 11.89 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: