Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001154/0.001154, allocations: 108 kB / 15.61 MB, free: 152 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.001206/0.001206, allocations: 196.5 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.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8106/0.8106, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 56.12 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1225, allocations: 80.94 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004943/0.1274, allocations: 4.033 MB / 0.5884 GB, free: 408 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3315/0.459, allocations: 150.4 MB / 0.7353 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005464/0.4595, allocations: 14.66 kB / 0.7353 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.4601, allocations: 165.8 kB / 0.7355 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.4616, allocations: 479.2 kB / 0.736 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.4632, allocations: 0.7718 MB / 0.7367 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.4644, allocations: 1.148 MB / 0.7378 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007394/0.4651, allocations: 0.5932 MB / 0.7384 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004844/0.4656, allocations: 418.6 kB / 0.7388 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.466, allocations: 435.6 kB / 0.7392 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.4662, allocations: 102 kB / 0.7393 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.4668, allocations: 443 kB / 0.7397 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.467, allocations: 266 kB / 0.74 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000361/0.4674, allocations: 488.1 kB / 0.7405 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.4686, allocations: 1.426 MB / 0.7419 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4686, allocations: 3.938 kB / 0.7419 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4686, allocations: 1.375 kB / 0.7419 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.4687, allocations: 0 / 0.7419 GB, free: 8.68 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001833/0.4705, allocations: 1.304 MB / 0.7431 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4705, allocations: 13.75 kB / 0.7431 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001309/0.4707, allocations: 125.4 kB / 0.7433 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008237/0.4715, allocations: 173.9 kB / 0.7434 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.4724, allocations: 0.6933 MB / 0.7441 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/0.4724, allocations: 56.31 kB / 0.7442 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.277e-05/0.4725, allocations: 77.5 kB / 0.7442 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.4737, allocations: 0.8429 MB / 0.7451 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.4737, allocations: 3.938 kB / 0.7451 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.4738, allocations: 35.25 kB / 0.7451 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4738, allocations: 22 kB / 0.7451 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.4752, allocations: 1.045 MB / 0.7461 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00288/0.4781, allocations: 2.331 MB / 0.7484 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4791, allocations: 0.7749 MB / 0.7492 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.4795, allocations: 268.9 kB / 0.7494 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.573e-05/0.4796, allocations: 31.31 kB / 0.7495 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006719/0.4803, allocations: 407.4 kB / 0.7498 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.854e-06/0.4803, allocations: 6.25 kB / 0.7499 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002524/0.4828, allocations: 1.045 MB / 0.7509 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.4829, allocations: 196.5 kB / 0.7511 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.4835, allocations: 0.5821 MB / 0.7516 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.4835, allocations: 41.7 kB / 0.7517 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.4837, allocations: 364.3 kB / 0.752 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.4839, allocations: 228.7 kB / 0.7522 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.484, allocations: 130.2 kB / 0.7524 GB, free: 476 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4842, allocations: 382.8 kB / 0.7527 GB, free: 84 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.4846, allocations: 209.1 kB / 0.7529 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.485, allocations: 312.7 kB / 0.7532 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/0.4858, allocations: 0.5078 MB / 0.7537 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4859, allocations: 4 kB / 0.7537 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001451/0.4873, allocations: 0.7041 MB / 0.7544 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4873, allocations: 7.938 kB / 0.7544 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4873, allocations: 7.984 kB / 0.7544 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005219/0.4879, allocations: 80.86 kB / 0.7545 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004799/0.4884, allocations: 135.7 kB / 0.7546 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.4901, allocations: 1.63 MB / 0.7562 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.4905, allocations: 71.42 kB / 0.7563 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.4906, allocations: 27.98 kB / 0.7563 GB, free: 12.21 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 (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.000265/0.4909, allocations: 241.7 kB / 0.7565 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.491, allocations: 75.06 kB / 0.7566 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.4929, allocations: 0.9616 MB / 0.7576 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4929, allocations: 8 kB / 0.7576 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.4929, allocations: 0 / 0.7576 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4929, allocations: 7.984 kB / 0.7576 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.4954, allocations: 1.793 MB / 0.7593 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4954, allocations: 0 / 0.7593 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004719/0.4959, allocations: 140 kB / 0.7595 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003875/0.4963, allocations: 72.78 kB / 0.7595 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.4964, allocations: 27.92 kB / 0.7596 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.4979, allocations: 1.647 MB / 0.7612 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4979, allocations: 3.984 kB / 0.7612 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.4995, allocations: 0.8906 MB / 0.762 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.4997, allocations: 247.9 kB / 0.7623 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.336e-05/0.4998, allocations: 16 kB / 0.7623 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.5003, allocations: 59.88 kB / 0.7623 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.5004, allocations: 56.92 kB / 0.7624 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.5005, allocations: 27.98 kB / 0.7624 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004008/0.5009, allocations: 427 kB / 0.7628 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5009, allocations: 0 / 0.7628 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000649/0.5015, allocations: 279.2 kB / 0.7631 GB, free: 5.02 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.002788/0.5043, allocations: 1.937 MB / 0.765 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.506, allocations: 0.8753 MB / 0.7658 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.506, allocations: 4.188 kB / 0.7658 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.5068, allocations: 480.8 kB / 0.7663 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5078, allocations: 291.2 kB / 0.7666 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008434/0.5162, allocations: 5.928 MB / 0.7724 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.5167, allocations: 0.9856 MB / 0.7733 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006505/0.5173, allocations: 253.9 kB / 0.7736 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/0.5178, allocations: 339.3 kB / 0.7739 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.5178, allocations: 0 / 0.7739 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.365/2.882, allocations: 19.26 MB / 0.7927 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/16.18, allocations: 0 / 0.7927 GB, free: 7.098 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)