Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_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.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001161/0.001161, allocations: 198.1 kB / 16.14 MB, free: 6.66 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.192/1.192, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8182/0.8182, allocations: 135.1 MB / 425.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 63.22 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1214, allocations: 80.92 MB / 0.5838 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004844/0.1263, allocations: 4.125 MB / 0.5878 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3232/0.4495, allocations: 148.1 MB / 0.7325 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005164/0.45, allocations: 23.81 kB / 0.7325 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004314/0.4505, allocations: 133.7 kB / 0.7327 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.4516, allocations: 407.1 kB / 0.7331 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.4529, allocations: 0.6796 MB / 0.7337 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008331/0.4538, allocations: 1.104 MB / 0.7348 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007141/0.4545, allocations: 0.5885 MB / 0.7354 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.4549, allocations: 376.1 kB / 0.7357 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.4553, allocations: 419.1 kB / 0.7361 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.4554, allocations: 52.62 kB / 0.7362 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005682/0.456, allocations: 394.9 kB / 0.7366 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.4562, allocations: 226.4 kB / 0.7368 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.4565, allocations: 451.8 kB / 0.7372 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.4576, allocations: 1.401 MB / 0.7386 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4576, allocations: 0 / 0.7386 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.01e-07/0.4576, allocations: 0 / 0.7386 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.4576, allocations: 0 / 0.7386 GB, free: 11.18 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001923/0.4595, allocations: 1.329 MB / 0.7399 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.4596, allocations: 14.25 kB / 0.7399 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.4597, allocations: 131.3 kB / 0.74 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008271/0.4605, allocations: 178.9 kB / 0.7402 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008214/0.4614, allocations: 0.6978 MB / 0.7409 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.4614, allocations: 58.28 kB / 0.7409 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.411e-05/0.4615, allocations: 78.09 kB / 0.741 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.4628, allocations: 0.8638 MB / 0.7418 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4629, allocations: 3.938 kB / 0.7418 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.463, allocations: 36.34 kB / 0.7419 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.463, allocations: 23.78 kB / 0.7419 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.4645, allocations: 1.063 MB / 0.7429 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.4676, allocations: 2.373 MB / 0.7452 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.4687, allocations: 0.787 MB / 0.746 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/0.4692, allocations: 286.6 kB / 0.7463 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/0.4693, allocations: 27.75 kB / 0.7463 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006917/0.47, allocations: 430.5 kB / 0.7467 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 1.833e-06/0.47, allocations: 0 / 0.7467 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002617/0.4726, allocations: 1.073 MB / 0.7478 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.4727, allocations: 190.1 kB / 0.748 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.4733, allocations: 0.5911 MB / 0.7485 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.4734, allocations: 37.7 kB / 0.7486 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.4736, allocations: 372.4 kB / 0.7489 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.4738, allocations: 240.5 kB / 0.7492 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.474, allocations: 142.2 kB / 0.7493 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4741, allocations: 378.7 kB / 0.7497 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.4745, allocations: 216.8 kB / 0.7499 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.475, allocations: 322.8 kB / 0.7502 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/0.4759, allocations: 0.5199 MB / 0.7507 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4759, allocations: 0 / 0.7507 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001621/0.4776, allocations: 0.7236 MB / 0.7514 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4776, allocations: 4 kB / 0.7514 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4776, allocations: 4 kB / 0.7514 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.4782, allocations: 80.86 kB / 0.7515 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.4788, allocations: 139.8 kB / 0.7516 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.4806, allocations: 1.52 MB / 0.7531 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.4811, allocations: 67.41 kB / 0.7531 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.4812, allocations: 27.98 kB / 0.7532 GB, free: 15.19 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: 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.0002993/0.4815, allocations: 259.4 kB / 0.7534 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.4816, allocations: 75.06 kB / 0.7535 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.4838, allocations: 1.002 MB / 0.7545 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4838, allocations: 8 kB / 0.7545 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.4838, allocations: 0 / 0.7545 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.4838, allocations: 8.016 kB / 0.7545 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.4866, allocations: 1.858 MB / 0.7563 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4866, allocations: 2.5 kB / 0.7563 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.4872, allocations: 143.8 kB / 0.7564 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004894/0.4877, allocations: 88.7 kB / 0.7565 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.4877, allocations: 27.92 kB / 0.7566 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.4894, allocations: 1.54 MB / 0.7581 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4894, allocations: 0 / 0.7581 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.4911, allocations: 0.914 MB / 0.7589 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.4913, allocations: 251.8 kB / 0.7592 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4915, allocations: 20.73 kB / 0.7592 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.492, allocations: 55.95 kB / 0.7593 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4921, allocations: 60.91 kB / 0.7593 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.4922, allocations: 27.98 kB / 0.7593 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004421/0.4926, allocations: 438.9 kB / 0.7598 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4927, allocations: 0 / 0.7598 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006517/0.4933, allocations: 283.3 kB / 0.76 GB, free: 7.918 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 (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.00299/0.4963, allocations: 1.957 MB / 0.7619 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.4976, allocations: 0.716 MB / 0.7626 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4976, allocations: 0 / 0.7626 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.4984, allocations: 496.1 kB / 0.7631 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4995, allocations: 268.1 kB / 0.7634 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.5097, allocations: 6.401 MB / 0.7696 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.5102, allocations: 1.005 MB / 0.7706 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007072/0.5109, allocations: 258 kB / 0.7709 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.5114, allocations: 347.3 kB / 0.7712 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.5114, allocations: 0 / 0.7712 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6037/1.115, allocations: 19.01 MB / 0.7897 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/1.115, allocations: 316.7 kB / 0.7901 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/3.191, allocations: 0 / 0.7901 GB, free: 9.508 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)