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.008911/0.008911, allocations: 107.5 kB / 15.74 MB, free: 5.992 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.001723/0.001723, allocations: 197 kB / 16.68 MB, free: 5.918 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9892/0.9892, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002088, allocations: 67.91 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4106, allocations: 80.91 MB / 0.6641 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004453/0.4151, allocations: 4.048 MB / 0.6681 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1617/0.5768, allocations: 150.5 MB / 0.815 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000734/0.5775, allocations: 15.88 kB / 0.815 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005932/0.5781, allocations: 162.5 kB / 0.8152 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.5799, allocations: 471.8 kB / 0.8156 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.5818, allocations: 0.7778 MB / 0.8164 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.5833, allocations: 1.16 MB / 0.8175 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008973/0.5842, allocations: 0.5997 MB / 0.8181 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006384/0.5848, allocations: 426.5 kB / 0.8185 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005854/0.5854, allocations: 430.1 kB / 0.8189 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.5856, allocations: 100 kB / 0.819 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009645/0.5866, allocations: 467.6 kB / 0.8195 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.5868, allocations: 271.1 kB / 0.8197 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005136/0.5874, allocations: 489.4 kB / 0.8202 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.5892, allocations: 1.456 MB / 0.8216 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5892, allocations: 3.938 kB / 0.8216 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5893, allocations: 3.938 kB / 0.8216 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.431e-05/0.5893, allocations: 0 / 0.8216 GB, free: 15.83 MB / 0.6544 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.00276/0.5921, allocations: 1.299 MB / 0.8229 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.5921, allocations: 11.97 kB / 0.8229 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.5923, allocations: 131 kB / 0.823 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5934, allocations: 175.5 kB / 0.8232 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.5947, allocations: 0.7227 MB / 0.8239 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.5948, allocations: 58 kB / 0.824 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5949, allocations: 72 kB / 0.824 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.5964, allocations: 0.8403 MB / 0.8249 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.5964, allocations: 3.938 kB / 0.8249 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.5965, allocations: 32 kB / 0.8249 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.5965, allocations: 16 kB / 0.8249 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.5983, allocations: 1.05 MB / 0.8259 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/0.6021, allocations: 2.301 MB / 0.8282 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.6035, allocations: 0.7661 MB / 0.8289 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.604, allocations: 274.4 kB / 0.8292 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.94e-05/0.6041, allocations: 24.59 kB / 0.8292 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007727/0.6048, allocations: 413.8 kB / 0.8296 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.946e-06/0.6049, allocations: 0 / 0.8296 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.003027/0.6079, allocations: 1.058 MB / 0.8306 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.608, allocations: 192.5 kB / 0.8308 GB, free: 6.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007988/0.6088, allocations: 0.5822 MB / 0.8314 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/0.6089, allocations: 45.64 kB / 0.8314 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.6092, allocations: 364.3 kB / 0.8318 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.6094, allocations: 232.6 kB / 0.832 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.6096, allocations: 130.2 kB / 0.8321 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6098, allocations: 374.8 kB / 0.8325 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.6102, allocations: 209.2 kB / 0.8327 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005318/0.6108, allocations: 314.7 kB / 0.833 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000924/0.6117, allocations: 0.5117 MB / 0.8335 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6117, allocations: 4 kB / 0.8335 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001709/0.6134, allocations: 0.7002 MB / 0.8342 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6135, allocations: 4 kB / 0.8342 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.6135, allocations: 8.062 kB / 0.8342 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005826/0.6141, allocations: 84.8 kB / 0.8343 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.6146, allocations: 131.8 kB / 0.8344 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.6167, allocations: 1.63 MB / 0.836 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005928/0.6173, allocations: 75.33 kB / 0.8361 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.6174, allocations: 23.98 kB / 0.8361 GB, free: 492 kB / 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 (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.000449/0.6179, allocations: 251.1 kB / 0.8363 GB, free: 232 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.6181, allocations: 71.09 kB / 0.8364 GB, free: 160 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.6203, allocations: 0.9588 MB / 0.8373 GB, free: 15.19 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-06/0.6203, allocations: 8 kB / 0.8373 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6204, allocations: 3.984 kB / 0.8373 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6204, allocations: 3.984 kB / 0.8373 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003116/0.6235, allocations: 1.787 MB / 0.8391 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6235, allocations: 0 / 0.8391 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005327/0.6241, allocations: 143.8 kB / 0.8392 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.6245, allocations: 76.72 kB / 0.8393 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.613e-05/0.6246, allocations: 19.98 kB / 0.8393 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.6264, allocations: 1.65 MB / 0.8409 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6265, allocations: 144 / 0.8409 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6283, allocations: 0.8874 MB / 0.8418 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.6287, allocations: 255.8 kB / 0.842 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.6288, allocations: 23.88 kB / 0.8421 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.6294, allocations: 51.94 kB / 0.8421 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.6295, allocations: 56.92 kB / 0.8422 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.834e-05/0.6296, allocations: 31.98 kB / 0.8422 GB, free: 9.957 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005626/0.6302, allocations: 419.1 kB / 0.8426 GB, free: 9.551 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6302, allocations: 0 / 0.8426 GB, free: 9.551 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008154/0.631, allocations: 279.3 kB / 0.8429 GB, free: 9.277 MB / 0.67 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.003261/0.6343, allocations: 1.933 MB / 0.8447 GB, free: 7.496 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.6359, allocations: 0.7083 MB / 0.8454 GB, free: 6.773 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6359, allocations: 0 / 0.8454 GB, free: 6.773 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.6368, allocations: 480.3 kB / 0.8459 GB, free: 6.293 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.638, allocations: 285.3 kB / 0.8462 GB, free: 6.039 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6481, allocations: 5.742 MB / 0.8518 GB, free: 200 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.6488, allocations: 0.9907 MB / 0.8527 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000739/0.6495, allocations: 254 kB / 0.853 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.65, allocations: 339.3 kB / 0.8533 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of SimCode: time 9.12e-07/0.65, allocations: 0 / 0.8533 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3804/1.03, allocations: 19.82 MB / 0.8727 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.25, allocations: 6.375 kB / 0.8727 GB, free: 191.7 MB / 0.6856 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)