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.001159/0.001159, allocations: 108 kB / 15.61 MB, free: 148 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.001153/0.001153, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.236/1.236, 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/package.mo): time 0.7058/0.7058, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 68.14 kB / 0.5019 GB, free: 8.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1253, allocations: 80.21 MB / 0.5802 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005128/0.1305, allocations: 4.068 MB / 0.5842 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3442/0.4747, allocations: 150.5 MB / 0.7311 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006639/0.4754, allocations: 15 kB / 0.7311 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.4761, allocations: 167.8 kB / 0.7313 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.4777, allocations: 476.1 kB / 0.7317 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.4795, allocations: 0.788 MB / 0.7325 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.4807, allocations: 1.163 MB / 0.7336 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.4816, allocations: 0.618 MB / 0.7342 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005832/0.4822, allocations: 416.3 kB / 0.7346 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.4828, allocations: 447 kB / 0.7351 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.483, allocations: 103.2 kB / 0.7352 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007577/0.4837, allocations: 453.1 kB / 0.7356 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.484, allocations: 266.3 kB / 0.7358 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.4843, allocations: 0.498 MB / 0.7363 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.4856, allocations: 1.45 MB / 0.7377 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.4856, allocations: 0 / 0.7377 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4856, allocations: 0 / 0.7377 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.4856, allocations: 0 / 0.7377 GB, free: 13.95 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.001747/0.4873, allocations: 1.323 MB / 0.739 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.4874, allocations: 10.25 kB / 0.739 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.4875, allocations: 128.6 kB / 0.7392 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007894/0.4883, allocations: 176.9 kB / 0.7393 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.4891, allocations: 0.7066 MB / 0.74 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.4892, allocations: 57.59 kB / 0.7401 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/0.4893, allocations: 75.09 kB / 0.7401 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.4905, allocations: 0.8547 MB / 0.741 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4905, allocations: 0 / 0.741 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.4906, allocations: 32.84 kB / 0.741 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.4906, allocations: 19.53 kB / 0.741 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/0.4921, allocations: 1.063 MB / 0.7421 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002981/0.495, allocations: 2.389 MB / 0.7444 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.4962, allocations: 0.7921 MB / 0.7452 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004173/0.4966, allocations: 278.5 kB / 0.7454 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.988e-05/0.4967, allocations: 25.69 kB / 0.7455 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006587/0.4973, allocations: 428.5 kB / 0.7459 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.733e-06/0.4974, allocations: 3.938 kB / 0.7459 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.00256/0.4999, allocations: 1.064 MB / 0.7469 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.5, allocations: 192.4 kB / 0.7471 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.5006, allocations: 0.5832 MB / 0.7477 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.5006, allocations: 37.7 kB / 0.7477 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.5009, allocations: 376.3 kB / 0.7481 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.501, allocations: 232.6 kB / 0.7483 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.5012, allocations: 134.2 kB / 0.7484 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.5013, allocations: 382.8 kB / 0.7488 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.5017, allocations: 209.2 kB / 0.749 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004747/0.5022, allocations: 322.7 kB / 0.7493 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008655/0.5031, allocations: 0.5141 MB / 0.7498 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5031, allocations: 7.125 kB / 0.7498 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001511/0.5046, allocations: 0.7119 MB / 0.7505 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.5046, allocations: 8.094 kB / 0.7505 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.5046, allocations: 0 / 0.7505 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.5052, allocations: 84.77 kB / 0.7506 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.5057, allocations: 131.8 kB / 0.7507 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001801/0.5075, allocations: 1.646 MB / 0.7523 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.508, allocations: 67.41 kB / 0.7524 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/0.508, allocations: 23.98 kB / 0.7524 GB, free: 1.891 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 (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 (73): * Single equations (assignments): 72 * 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.0002838/0.5083, allocations: 258 kB / 0.7526 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.5084, allocations: 79.03 kB / 0.7527 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.5104, allocations: 0.9665 MB / 0.7537 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.5105, allocations: 8 kB / 0.7537 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.5105, allocations: 0 / 0.7537 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.5105, allocations: 3.984 kB / 0.7537 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.5131, allocations: 1.833 MB / 0.7555 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5131, allocations: 0 / 0.7555 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.5136, allocations: 135.8 kB / 0.7556 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.5141, allocations: 88.66 kB / 0.7557 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.5141, allocations: 19.73 kB / 0.7557 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.5158, allocations: 1.674 MB / 0.7573 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5158, allocations: 0 / 0.7573 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.5174, allocations: 0.8985 MB / 0.7582 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.5177, allocations: 259.8 kB / 0.7585 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.5178, allocations: 19.94 kB / 0.7585 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.5183, allocations: 52.92 kB / 0.7585 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.5185, allocations: 52.92 kB / 0.7586 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.783e-05/0.5185, allocations: 31.98 kB / 0.7586 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004381/0.519, allocations: 431 kB / 0.759 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.519, allocations: 4 kB / 0.759 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006801/0.5197, allocations: 271.4 kB / 0.7593 GB, free: 10.59 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 (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.003001/0.5227, allocations: 1.947 MB / 0.7612 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.5245, allocations: 0.8916 MB / 0.7621 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5245, allocations: 0 / 0.7621 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007795/0.5253, allocations: 488.3 kB / 0.7625 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.5264, allocations: 274.1 kB / 0.7628 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008978/0.5354, allocations: 5.987 MB / 0.7686 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.5359, allocations: 0.9958 MB / 0.7696 GB, free: 116 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007235/0.5366, allocations: 261.9 kB / 0.7699 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/0.5371, allocations: 339.2 kB / 0.7702 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.5371, allocations: 4 kB / 0.7702 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.325/2.862, allocations: 19.44 MB / 0.7892 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/16.05, allocations: 15.89 kB / 0.7892 GB, free: 12.42 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/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)