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.006544/0.006544, allocations: 99.64 kB / 15.73 MB, free: 6.023 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.001165/0.001165, allocations: 187.2 kB / 16.67 MB, free: 5.957 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7616/0.7616, allocations: 132.2 MB / 422.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.89 kB / 0.5808 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4417, allocations: 80.21 MB / 0.6592 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006071/0.4478, allocations: 4.048 MB / 0.6631 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.6121, allocations: 150.4 MB / 0.81 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.6133, allocations: 11.94 kB / 0.8101 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009784/0.6143, allocations: 170.5 kB / 0.8102 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.6168, allocations: 471.7 kB / 0.8107 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.6193, allocations: 0.7774 MB / 0.8114 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001927/0.6212, allocations: 1.156 MB / 0.8126 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.6224, allocations: 0.5988 MB / 0.8131 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000933/0.6234, allocations: 422.5 kB / 0.8135 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007783/0.6242, allocations: 434.1 kB / 0.814 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.6245, allocations: 100 kB / 0.8141 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.6257, allocations: 479.5 kB / 0.8145 GB, free: 6.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.626, allocations: 263.1 kB / 0.8148 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006593/0.6267, allocations: 493.4 kB / 0.8152 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002172/0.6288, allocations: 1.448 MB / 0.8167 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6289, allocations: 3.984 kB / 0.8167 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6289, allocations: 0 / 0.8167 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.725e-05/0.6289, allocations: 0 / 0.8167 GB, free: 4.281 MB / 0.6387 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.002816/0.6317, allocations: 1.307 MB / 0.8179 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.6318, allocations: 12.03 kB / 0.8179 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.632, allocations: 131 kB / 0.8181 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.633, allocations: 167.6 kB / 0.8182 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.6343, allocations: 0.7264 MB / 0.8189 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.6344, allocations: 58 kB / 0.819 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.6345, allocations: 76 kB / 0.8191 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.636, allocations: 0.8442 MB / 0.8199 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.636, allocations: 0 / 0.8199 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.6361, allocations: 36 kB / 0.8199 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.6361, allocations: 16 kB / 0.8199 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.6378, allocations: 1.042 MB / 0.821 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003639/0.6414, allocations: 2.293 MB / 0.8232 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.6427, allocations: 0.7744 MB / 0.824 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.6431, allocations: 266.4 kB / 0.8242 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.947e-05/0.6432, allocations: 36.52 kB / 0.8242 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006893/0.6439, allocations: 409.8 kB / 0.8246 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.525e-06/0.6439, allocations: 0 / 0.8246 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002751/0.6467, allocations: 1.062 MB / 0.8257 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.6468, allocations: 188.5 kB / 0.8258 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/0.6475, allocations: 0.5822 MB / 0.8264 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.6475, allocations: 41.7 kB / 0.8265 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.6479, allocations: 372.2 kB / 0.8268 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.6481, allocations: 228.6 kB / 0.827 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.6483, allocations: 130.3 kB / 0.8272 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6484, allocations: 382.7 kB / 0.8275 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.6488, allocations: 209.2 kB / 0.8277 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/0.6493, allocations: 310.8 kB / 0.828 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.6502, allocations: 0.5039 MB / 0.8285 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.6502, allocations: 4 kB / 0.8285 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00166/0.6519, allocations: 0.7041 MB / 0.8292 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.6519, allocations: 4.094 kB / 0.8292 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.6519, allocations: 8 kB / 0.8292 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.6525, allocations: 76.77 kB / 0.8293 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.6531, allocations: 135.8 kB / 0.8294 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.6553, allocations: 1.631 MB / 0.831 GB, free: 5.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.6558, allocations: 77.84 kB / 0.8311 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.6559, allocations: 23.98 kB / 0.8311 GB, free: 4.934 MB / 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.0003781/0.6563, allocations: 249.7 kB / 0.8313 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/0.6565, allocations: 75 kB / 0.8314 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.6586, allocations: 0.9509 MB / 0.8323 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.6587, allocations: 8 kB / 0.8323 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6587, allocations: 4 kB / 0.8324 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6587, allocations: 3.984 kB / 0.8324 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.6617, allocations: 1.794 MB / 0.8341 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6617, allocations: 0 / 0.8341 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.6623, allocations: 135.8 kB / 0.8342 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/0.6627, allocations: 76.72 kB / 0.8343 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.6628, allocations: 19.98 kB / 0.8343 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.6647, allocations: 1.658 MB / 0.8359 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6647, allocations: 4.062 kB / 0.836 GB, free: 15.74 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.6665, allocations: 0.8873 MB / 0.8368 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003753/0.6669, allocations: 251.8 kB / 0.8371 GB, free: 14.56 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.667, allocations: 19.94 kB / 0.8371 GB, free: 14.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.6676, allocations: 51.94 kB / 0.8371 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.6677, allocations: 56.86 kB / 0.8372 GB, free: 14.44 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.6678, allocations: 35.98 kB / 0.8372 GB, free: 14.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005646/0.6683, allocations: 427 kB / 0.8376 GB, free: 13.99 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6683, allocations: 0 / 0.8376 GB, free: 13.99 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008835/0.6692, allocations: 271.4 kB / 0.8379 GB, free: 13.72 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.003268/0.6725, allocations: 1.939 MB / 0.8398 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.674, allocations: 0.6965 MB / 0.8405 GB, free: 11.27 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6741, allocations: 4 kB / 0.8405 GB, free: 11.26 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008371/0.6749, allocations: 488.4 kB / 0.8409 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6761, allocations: 281.2 kB / 0.8412 GB, free: 10.52 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00964/0.6857, allocations: 5.753 MB / 0.8468 GB, free: 4.676 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005866/0.6863, allocations: 0.992 MB / 0.8478 GB, free: 3.66 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00073/0.6871, allocations: 242 kB / 0.848 GB, free: 3.422 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/0.6876, allocations: 351.2 kB / 0.8483 GB, free: 3.078 MB / 0.67 GB Notification: Performance of SimCode: time 1.313e-06/0.6876, allocations: 0 / 0.8483 GB, free: 3.078 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3626/1.05, allocations: 19.81 MB / 0.8677 GB, free: 195.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.88, allocations: 8.078 kB / 0.8677 GB, free: 195.4 MB / 0.6856 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)