Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_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.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001208/0.001208, allocations: 192.8 kB / 16.14 MB, free: 6.715 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.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7078/0.7078, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.48 kB / 0.5012 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.423, allocations: 80.21 MB / 0.5795 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005104/0.4281, allocations: 4.073 MB / 0.5835 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1493/0.5775, allocations: 148.1 MB / 0.7281 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000698/0.5782, allocations: 19.88 kB / 0.7281 GB, free: 9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.5787, allocations: 135 kB / 0.7283 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.5799, allocations: 385.1 kB / 0.7286 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.5816, allocations: 0.6833 MB / 0.7293 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009966/0.5826, allocations: 1.078 MB / 0.7304 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000829/0.5834, allocations: 0.5838 MB / 0.7309 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.5839, allocations: 354.5 kB / 0.7313 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.5843, allocations: 406 kB / 0.7316 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.5844, allocations: 51.94 kB / 0.7317 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000768/0.5852, allocations: 391.6 kB / 0.7321 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002017/0.5854, allocations: 215.2 kB / 0.7323 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.5857, allocations: 445.3 kB / 0.7327 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.587, allocations: 1.375 MB / 0.734 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.587, allocations: 0 / 0.734 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.22e-07/0.587, allocations: 3.938 kB / 0.734 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.719e-06/0.587, allocations: 0 / 0.734 GB, free: 2.938 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.002023/0.589, allocations: 1.307 MB / 0.7353 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.5891, allocations: 12.03 kB / 0.7353 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.5892, allocations: 123 kB / 0.7355 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.5901, allocations: 179.5 kB / 0.7356 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/0.591, allocations: 0.6992 MB / 0.7363 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.5911, allocations: 61.98 kB / 0.7364 GB, free: 468 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.5912, allocations: 76 kB / 0.7364 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.5926, allocations: 0.8404 MB / 0.7373 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.5926, allocations: 0 / 0.7373 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.5927, allocations: 32 kB / 0.7373 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.5927, allocations: 16 kB / 0.7373 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/0.5943, allocations: 1.054 MB / 0.7383 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003512/0.5978, allocations: 2.328 MB / 0.7406 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.5991, allocations: 0.7694 MB / 0.7414 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.5995, allocations: 262.4 kB / 0.7416 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.939e-05/0.5996, allocations: 36.58 kB / 0.7416 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008507/0.6005, allocations: 417.7 kB / 0.742 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 3.286e-06/0.6005, allocations: 0 / 0.742 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.00331/0.6038, allocations: 1.05 MB / 0.7431 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.6039, allocations: 192.5 kB / 0.7433 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/0.6047, allocations: 0.5821 MB / 0.7438 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.6048, allocations: 37.7 kB / 0.7439 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.6051, allocations: 376.3 kB / 0.7442 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.6053, allocations: 224.7 kB / 0.7444 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.6055, allocations: 134.2 kB / 0.7446 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.6057, allocations: 374.8 kB / 0.7449 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.6062, allocations: 205.2 kB / 0.7451 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/0.6067, allocations: 314.8 kB / 0.7454 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008795/0.6076, allocations: 0.5117 MB / 0.7459 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.6076, allocations: 3.938 kB / 0.7459 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001626/0.6092, allocations: 0.7001 MB / 0.7466 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.6093, allocations: 8 kB / 0.7466 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6093, allocations: 0 / 0.7466 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.6099, allocations: 84.86 kB / 0.7467 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.6104, allocations: 131.8 kB / 0.7468 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.6124, allocations: 1.525 MB / 0.7483 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005542/0.613, allocations: 71.45 kB / 0.7484 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.6131, allocations: 31.98 kB / 0.7484 GB, free: 3.68 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.0003788/0.6134, allocations: 237.7 kB / 0.7486 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.6136, allocations: 75.06 kB / 0.7487 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.6156, allocations: 0.9587 MB / 0.7496 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6157, allocations: 8 kB / 0.7496 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.6157, allocations: 4 kB / 0.7496 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.6157, allocations: 7.984 kB / 0.7497 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.6185, allocations: 1.789 MB / 0.7514 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6185, allocations: 0 / 0.7514 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/0.619, allocations: 139.8 kB / 0.7515 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.6196, allocations: 84.84 kB / 0.7516 GB, free: 312 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.6196, allocations: 23.98 kB / 0.7516 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.6214, allocations: 1.54 MB / 0.7531 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6214, allocations: 4.062 kB / 0.7531 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.6231, allocations: 0.8906 MB / 0.754 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.6234, allocations: 251.9 kB / 0.7543 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6235, allocations: 12 kB / 0.7543 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.6241, allocations: 54.12 kB / 0.7543 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6242, allocations: 60.91 kB / 0.7544 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.846e-05/0.6243, allocations: 31.98 kB / 0.7544 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004627/0.6247, allocations: 427.1 kB / 0.7548 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6248, allocations: 0 / 0.7548 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007594/0.6255, allocations: 283.2 kB / 0.7551 GB, free: 12.58 MB / 0.5919 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.003044/0.6286, allocations: 1.924 MB / 0.757 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.6299, allocations: 0.7004 MB / 0.7576 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6299, allocations: 0 / 0.7576 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007883/0.6307, allocations: 484.4 kB / 0.7581 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.6318, allocations: 259.5 kB / 0.7584 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.6423, allocations: 6.282 MB / 0.7645 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.6428, allocations: 0.992 MB / 0.7655 GB, free: 2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007838/0.6436, allocations: 242 kB / 0.7657 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.6441, allocations: 339.3 kB / 0.766 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.6441, allocations: 0 / 0.766 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2241/0.8682, allocations: 18.6 MB / 0.7842 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003207/0.8686, allocations: 304.6 kB / 0.7845 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.563, allocations: 0 / 0.7845 GB, free: 14.85 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)