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.0008997/0.0008997, allocations: 100.3 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.0008468/0.0008468, 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.111/1.111, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6261/0.6261, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004893, allocations: 12.69 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3681, allocations: 81.57 MB / 0.583 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00342/0.3716, allocations: 3.432 MB / 0.5863 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.129/0.5005, allocations: 127.4 MB / 0.7107 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006357/0.5012, allocations: 15.94 kB / 0.7108 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.5016, allocations: 75.33 kB / 0.7108 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.5029, allocations: 453 kB / 0.7113 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.5043, allocations: 0.597 MB / 0.7118 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.5053, allocations: 0.7363 MB / 0.7126 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000564/0.5059, allocations: 471.1 kB / 0.713 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.5062, allocations: 294.7 kB / 0.7133 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.5065, allocations: 282.5 kB / 0.7136 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.508e-05/0.5066, allocations: 24 kB / 0.7136 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.5071, allocations: 307.6 kB / 0.7139 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.5073, allocations: 159.3 kB / 0.714 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.5074, allocations: 177.2 kB / 0.7142 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008781/0.5083, allocations: 1.072 MB / 0.7152 GB, free: 8.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.5083, allocations: 0 / 0.7152 GB, free: 8.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5083, allocations: 0 / 0.7152 GB, free: 8.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5084, allocations: 0 / 0.7152 GB, free: 8.789 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001607/0.51, allocations: 1.124 MB / 0.7163 GB, free: 7.613 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.51, allocations: 12.03 kB / 0.7164 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.5101, allocations: 134.9 kB / 0.7165 GB, free: 7.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007743/0.5109, allocations: 186.5 kB / 0.7167 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008555/0.5118, allocations: 0.6797 MB / 0.7173 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.5118, allocations: 58 kB / 0.7174 GB, free: 6.496 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.5119, allocations: 75.98 kB / 0.7175 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.5131, allocations: 0.8481 MB / 0.7183 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5132, allocations: 0 / 0.7183 GB, free: 5.535 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.95e-05/0.5132, allocations: 32 kB / 0.7183 GB, free: 5.504 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5133, allocations: 20 kB / 0.7183 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.5147, allocations: 1.069 MB / 0.7194 GB, free: 4.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.5179, allocations: 2.408 MB / 0.7217 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.5191, allocations: 0.8046 MB / 0.7225 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.288e-05/0.5191, allocations: 32.59 kB / 0.7225 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006819/0.5198, allocations: 421.8 kB / 0.7229 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of pre-optimization done (n=70): time 1.663e-06/0.5198, allocations: 0 / 0.7229 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of matching and sorting (n=70): time 0.002592/0.5224, allocations: 1.079 MB / 0.724 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/0.5225, allocations: 188.5 kB / 0.7242 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006178/0.5232, allocations: 0.5782 MB / 0.7247 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.5232, allocations: 41.8 kB / 0.7248 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.5235, allocations: 380.2 kB / 0.7251 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.5237, allocations: 232.6 kB / 0.7254 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.5237, allocations: 8 kB / 0.7254 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.5239, allocations: 374.8 kB / 0.7257 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.5243, allocations: 229.1 kB / 0.726 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.5247, allocations: 310.7 kB / 0.7263 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004545/0.5252, allocations: 263.2 kB / 0.7265 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5252, allocations: 0 / 0.7265 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001491/0.5267, allocations: 0.7197 MB / 0.7272 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5267, allocations: 8.094 kB / 0.7272 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5267, allocations: 4 kB / 0.7272 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005255/0.5273, allocations: 80.77 kB / 0.7273 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.5278, allocations: 135.8 kB / 0.7274 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.5296, allocations: 1.532 MB / 0.7289 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.5301, allocations: 87.48 kB / 0.729 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.62e-05/0.5302, allocations: 23.98 kB / 0.729 GB, free: 10.14 MB / 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.0003085/0.5305, allocations: 251.4 kB / 0.7293 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5306, allocations: 79.02 kB / 0.7293 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.5326, allocations: 0.9781 MB / 0.7303 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5326, allocations: 11.98 kB / 0.7303 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.5326, allocations: 0 / 0.7303 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.5326, allocations: 3.984 kB / 0.7303 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.5354, allocations: 1.84 MB / 0.7321 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.5354, allocations: 3.953 kB / 0.7321 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.5359, allocations: 143.8 kB / 0.7322 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.5364, allocations: 84.78 kB / 0.7323 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.5365, allocations: 23.98 kB / 0.7324 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.5382, allocations: 1.579 MB / 0.7339 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5382, allocations: 0 / 0.7339 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.5398, allocations: 0.8986 MB / 0.7348 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.5402, allocations: 271.7 kB / 0.735 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.5403, allocations: 19.92 kB / 0.735 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.5408, allocations: 67.89 kB / 0.7351 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.541, allocations: 60.91 kB / 0.7352 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.541, allocations: 27.98 kB / 0.7352 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005123/0.5416, allocations: 423.1 kB / 0.7356 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5416, allocations: 3.938 kB / 0.7356 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007711/0.5423, allocations: 279.3 kB / 0.7359 GB, free: 2.883 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 (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.002894/0.5452, allocations: 1.932 MB / 0.7378 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.5466, allocations: 0.7162 MB / 0.7385 GB, free: 420 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5466, allocations: 0 / 0.7385 GB, free: 420 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007477/0.5473, allocations: 484.3 kB / 0.7389 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009338/0.5483, allocations: 242.8 kB / 0.7392 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008174/0.5565, allocations: 5.018 MB / 0.7441 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.557, allocations: 1.015 MB / 0.745 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006823/0.5577, allocations: 250 kB / 0.7453 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.5581, allocations: 343.3 kB / 0.7456 GB, free: 9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.5e-07/0.5581, allocations: 0 / 0.7456 GB, free: 9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.595/2.153, allocations: 19.59 MB / 0.7647 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/2.154, allocations: 261.3 kB / 0.765 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/4.102, allocations: 4.062 kB / 0.765 GB, free: 5.461 MB / 0.5919 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: