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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 212.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.365/1.365, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7944/0.7944, allocations: 134 MB / 446.4 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 70.8 kB / 0.6185 GB, free: 7.219 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1426, allocations: 85.9 MB / 0.7024 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005834/0.1484, allocations: 4.143 MB / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4569/0.6053, allocations: 154 MB / 0.8568 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.6059, allocations: 27.81 kB / 0.8569 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006101/0.6065, allocations: 166.5 kB / 0.857 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.6081, allocations: 496.6 kB / 0.8575 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.6101, allocations: 0.8328 MB / 0.8583 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001458/0.6115, allocations: 1.172 MB / 0.8594 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007711/0.6123, allocations: 437.9 kB / 0.8599 GB, free: 5.324 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000663/0.6129, allocations: 442.5 kB / 0.8603 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006258/0.6136, allocations: 449.9 kB / 0.8607 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/0.6138, allocations: 104 kB / 0.8608 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009651/0.6147, allocations: 0.4936 MB / 0.8613 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.615, allocations: 271.1 kB / 0.8616 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005066/0.6155, allocations: 497.3 kB / 0.862 GB, free: 3.105 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.6174, allocations: 1.516 MB / 0.8635 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6174, allocations: 0 / 0.8635 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6174, allocations: 0 / 0.8635 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.228e-05/0.6175, allocations: 4 kB / 0.8635 GB, free: 1.586 MB / 0.6231 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.002352/0.6198, allocations: 1.292 MB / 0.8648 GB, free: 264 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6199, allocations: 12.03 kB / 0.8648 GB, free: 252 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.62, allocations: 123 kB / 0.8649 GB, free: 120 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.6214, allocations: 220.2 kB / 0.8651 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.6227, allocations: 0.6713 MB / 0.8658 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.6227, allocations: 58 kB / 0.8658 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.6229, allocations: 75.94 kB / 0.8659 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.6243, allocations: 0.8403 MB / 0.8667 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.6243, allocations: 4 kB / 0.8667 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-05/0.6244, allocations: 36 kB / 0.8668 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.6244, allocations: 16 kB / 0.8668 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.6261, allocations: 1.046 MB / 0.8678 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.6298, allocations: 2.265 MB / 0.87 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.6311, allocations: 0.6562 MB / 0.8706 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004694/0.6315, allocations: 246.7 kB / 0.8709 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-05/0.6316, allocations: 32.62 kB / 0.8709 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007366/0.6324, allocations: 427.3 kB / 0.8713 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.114e-06/0.6324, allocations: 0 / 0.8713 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.00294/0.6353, allocations: 0.9784 MB / 0.8723 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6354, allocations: 196.5 kB / 0.8725 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.6362, allocations: 0.6057 MB / 0.8731 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.6363, allocations: 41.7 kB / 0.8731 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.6366, allocations: 380.9 kB / 0.8735 GB, free: 7.141 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.6368, allocations: 237.9 kB / 0.8737 GB, free: 6.906 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.637, allocations: 130.2 kB / 0.8738 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.6372, allocations: 382.8 kB / 0.8742 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004451/0.6376, allocations: 209.2 kB / 0.8744 GB, free: 6.184 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.6382, allocations: 306.8 kB / 0.8747 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009571/0.6391, allocations: 0.512 MB / 0.8752 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6391, allocations: 0 / 0.8752 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001731/0.6409, allocations: 0.7122 MB / 0.8759 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.6409, allocations: 4 kB / 0.8759 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.6409, allocations: 8.094 kB / 0.8759 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/0.6415, allocations: 76.77 kB / 0.8759 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.6421, allocations: 135.8 kB / 0.8761 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.6442, allocations: 1.533 MB / 0.8776 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005302/0.6447, allocations: 82 kB / 0.8777 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/0.6448, allocations: 23.98 kB / 0.8777 GB, free: 2.641 MB / 0.6387 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.000374/0.6452, allocations: 245.7 kB / 0.8779 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.6453, allocations: 75.53 kB / 0.878 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/0.6476, allocations: 0.9574 MB / 0.8789 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.6476, allocations: 8 kB / 0.8789 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.6476, allocations: 4 kB / 0.8789 GB, free: 1.332 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/0.6476, allocations: 7.984 kB / 0.8789 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.6509, allocations: 1.777 MB / 0.8807 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.6509, allocations: 4 kB / 0.8807 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.6514, allocations: 135.8 kB / 0.8808 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.6518, allocations: 64.8 kB / 0.8809 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.6519, allocations: 31.92 kB / 0.8809 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.6539, allocations: 1.558 MB / 0.8824 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6539, allocations: 0 / 0.8824 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.6558, allocations: 0.8995 MB / 0.8833 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.6563, allocations: 179.2 kB / 0.8835 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.6564, allocations: 16 kB / 0.8835 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005467/0.6569, allocations: 59.88 kB / 0.8835 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.657, allocations: 60.81 kB / 0.8836 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/0.6571, allocations: 31.98 kB / 0.8836 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000599/0.6577, allocations: 443 kB / 0.8841 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6577, allocations: 4 kB / 0.8841 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007755/0.6585, allocations: 283.2 kB / 0.8843 GB, free: 11.61 MB / 0.6544 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.003907/0.6624, allocations: 1.934 MB / 0.8862 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.6639, allocations: 0.681 MB / 0.8869 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.6639, allocations: 0 / 0.8869 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008663/0.6647, allocations: 464.3 kB / 0.8873 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.6658, allocations: 274.6 kB / 0.8876 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.6764, allocations: 5.843 MB / 0.8933 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/0.6771, allocations: 0.9922 MB / 0.8943 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007535/0.6779, allocations: 258.1 kB / 0.8945 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/0.6784, allocations: 351.3 kB / 0.8948 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of SimCode: time 7.31e-07/0.6784, allocations: 4 kB / 0.8948 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0616/0.74, allocations: 20.32 MB / 0.9147 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.85, allocations: 6.062 kB / 0.9147 GB, free: 12.73 MB / 0.6856 GB " [Timeout remaining time 646] (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 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.287909902166575] Failed to read output from testmodel.py, exit status != 0: 14.070511454949155 14.085829596 13.465368864 Calling exit ...