Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.004268/0.004268, allocations: 96.31 kB / 15.73 MB, free: 6.043 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.001015/0.001015, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.222/1.222, allocations: 222.9 MB / 240.4 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6935/0.6935, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.001121, allocations: 62.67 kB / 0.5809 GB, free: 1.285 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 80.21 MB / 0.6592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005261/0.1318, allocations: 4.116 MB / 0.6632 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1379/0.2697, allocations: 150.5 MB / 0.8101 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.2704, allocations: 15.94 kB / 0.8102 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004985/0.2709, allocations: 174.5 kB / 0.8103 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.2722, allocations: 479.6 kB / 0.8108 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.2739, allocations: 0.8026 MB / 0.8116 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.275, allocations: 1.188 MB / 0.8127 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2917/0.5667, allocations: 0.6115 MB / 0.8133 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.5673, allocations: 436.1 kB / 0.8137 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004875/0.5678, allocations: 450.3 kB / 0.8142 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.568, allocations: 104.6 kB / 0.8143 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000803/0.5688, allocations: 467 kB / 0.8147 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.5691, allocations: 271.7 kB / 0.815 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.5694, allocations: 0.4907 MB / 0.8155 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.571, allocations: 1.491 MB / 0.8169 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.571, allocations: 1.156 kB / 0.8169 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.072e-06/0.571, allocations: 1.031 kB / 0.8169 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.571, allocations: 0.8125 kB / 0.8169 GB, free: 3.262 MB / 0.6387 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.001926/0.5729, allocations: 1.36 MB / 0.8182 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.573, allocations: 11.34 kB / 0.8182 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.5731, allocations: 131.9 kB / 0.8184 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.574, allocations: 184.5 kB / 0.8186 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.5751, allocations: 0.7291 MB / 0.8193 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.657e-05/0.5752, allocations: 63.05 kB / 0.8193 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.5753, allocations: 76.38 kB / 0.8194 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.5768, allocations: 0.8637 MB / 0.8202 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.5768, allocations: 5.469 kB / 0.8202 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/0.5769, allocations: 32.09 kB / 0.8203 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.5769, allocations: 19.88 kB / 0.8203 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001569/0.5785, allocations: 1.064 MB / 0.8213 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.5816, allocations: 2.347 MB / 0.8236 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.5828, allocations: 0.7991 MB / 0.8244 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.5832, allocations: 272.2 kB / 0.8247 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.982e-05/0.5833, allocations: 31.28 kB / 0.8247 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006802/0.584, allocations: 426.3 kB / 0.8251 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 1.804e-06/0.584, allocations: 1.438 kB / 0.8251 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72): time 0.002618/0.5866, allocations: 1.083 MB / 0.8262 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.5867, allocations: 192.4 kB / 0.8263 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/0.5873, allocations: 0.5849 MB / 0.8269 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.5873, allocations: 40.77 kB / 0.827 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.5875, allocations: 377.2 kB / 0.8273 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.5877, allocations: 253.7 kB / 0.8276 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.5879, allocations: 136.9 kB / 0.8277 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.588, allocations: 380.3 kB / 0.828 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.5884, allocations: 215.9 kB / 0.8283 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.5888, allocations: 315 kB / 0.8286 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008352/0.5897, allocations: 0.528 MB / 0.8291 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.5897, allocations: 1.375 kB / 0.8291 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001522/0.5912, allocations: 0.7205 MB / 0.8298 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.5912, allocations: 5.062 kB / 0.8298 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5913, allocations: 2.188 kB / 0.8298 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005404/0.5918, allocations: 82.72 kB / 0.8299 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.5923, allocations: 135.5 kB / 0.83 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.5941, allocations: 1.638 MB / 0.8316 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/0.5946, allocations: 74.58 kB / 0.8317 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.5947, allocations: 27.34 kB / 0.8317 GB, free: 14.1 MB / 0.6544 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 (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 (75): * Single equations (assignments): 74 * 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.0002763/0.595, allocations: 249.4 kB / 0.8319 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.5951, allocations: 79.77 kB / 0.832 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.5971, allocations: 1.003 MB / 0.833 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.5971, allocations: 9.938 kB / 0.833 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.5971, allocations: 0 / 0.833 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.5971, allocations: 10.47 kB / 0.833 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.5998, allocations: 1.858 MB / 0.8348 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5998, allocations: 0 / 0.8348 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.6003, allocations: 148.3 kB / 0.835 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/0.6007, allocations: 77.78 kB / 0.835 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.6008, allocations: 24.67 kB / 0.8351 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.6024, allocations: 1.651 MB / 0.8367 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6024, allocations: 2.953 kB / 0.8367 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.604, allocations: 0.917 MB / 0.8376 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.6043, allocations: 263.1 kB / 0.8378 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.6044, allocations: 24.81 kB / 0.8378 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.6049, allocations: 52.91 kB / 0.8379 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.605, allocations: 66.42 kB / 0.838 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.6051, allocations: 31.56 kB / 0.838 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004049/0.6055, allocations: 429.7 kB / 0.8384 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6055, allocations: 0 / 0.8384 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006794/0.6062, allocations: 287.6 kB / 0.8387 GB, free: 11.56 MB / 0.6544 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.00285/0.609, allocations: 1.969 MB / 0.8406 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.6103, allocations: 0.7184 MB / 0.8413 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6103, allocations: 0 / 0.8413 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.611, allocations: 0.4935 MB / 0.8418 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.6121, allocations: 289.1 kB / 0.842 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008165/0.6202, allocations: 5.879 MB / 0.8478 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.6207, allocations: 1.002 MB / 0.8488 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006227/0.6213, allocations: 246.9 kB / 0.849 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/0.6217, allocations: 350.9 kB / 0.8493 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.6217, allocations: 0.7812 kB / 0.8493 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/0.6601, allocations: 19.92 MB / 0.8688 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.56, allocations: 5.969 kB / 0.8688 GB, free: 3.848 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)