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.001751/0.001751, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002189/0.002189, allocations: 218.7 kB / 23.03 MB, free: 4.949 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8898/0.8898, allocations: 134 MB / 447.2 MB, free: 9.934 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="cs",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.001954/0.001954, allocations: 61.34 kB / 0.6192 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1652, allocations: 85.92 MB / 0.7031 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00618/0.1713, allocations: 3.745 MB / 0.7068 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5116/0.683, allocations: 132.4 MB / 0.8361 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007763/0.6838, allocations: 22.56 kB / 0.8361 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007575/0.6845, allocations: 168.6 kB / 0.8363 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.6862, allocations: 0.4903 MB / 0.8368 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.6881, allocations: 0.8035 MB / 0.8376 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.6894, allocations: 1.179 MB / 0.8387 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006651/0.6901, allocations: 435.2 kB / 0.8391 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.6906, allocations: 442.7 kB / 0.8395 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.6911, allocations: 447.5 kB / 0.84 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.6912, allocations: 105.1 kB / 0.8401 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009182/0.6922, allocations: 497.5 kB / 0.8405 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.6925, allocations: 267.7 kB / 0.8408 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.6928, allocations: 401.9 kB / 0.8412 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.6946, allocations: 1.512 MB / 0.8427 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.6946, allocations: 0 / 0.8427 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6946, allocations: 3.938 kB / 0.8427 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.6946, allocations: 3.469 kB / 0.8427 GB, free: 4.242 MB / 0.6075 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.002339/0.697, allocations: 1.288 MB / 0.8439 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.697, allocations: 8.031 kB / 0.8439 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.472e-05/0.6971, allocations: 22.19 kB / 0.844 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.6972, allocations: 131 kB / 0.8441 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.6987, allocations: 216.1 kB / 0.8443 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.7, allocations: 0.6751 MB / 0.8449 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.7001, allocations: 58 kB / 0.845 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.7002, allocations: 76 kB / 0.8451 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.7019, allocations: 1.1 MB / 0.8462 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.7019, allocations: 0 / 0.8462 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.429e-05/0.702, allocations: 32 kB / 0.8462 GB, free: 492 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.702, allocations: 20 kB / 0.8462 GB, free: 472 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.7037, allocations: 1.046 MB / 0.8472 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.7073, allocations: 2.063 MB / 0.8492 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.7086, allocations: 0.6536 MB / 0.8499 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.7091, allocations: 247.7 kB / 0.8501 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.157e-05/0.7092, allocations: 24.64 kB / 0.8501 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009152/0.7101, allocations: 0.5138 MB / 0.8506 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 3.056e-06/0.7101, allocations: 0 / 0.8506 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.003075/0.7132, allocations: 0.9823 MB / 0.8516 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.7133, allocations: 188.6 kB / 0.8518 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008258/0.7141, allocations: 0.6096 MB / 0.8524 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/0.7142, allocations: 37.7 kB / 0.8524 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.7145, allocations: 376.9 kB / 0.8528 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.7147, allocations: 250 kB / 0.853 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.7149, allocations: 126.2 kB / 0.8531 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.7151, allocations: 386.8 kB / 0.8535 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.7155, allocations: 205.2 kB / 0.8537 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/0.7162, allocations: 443.3 kB / 0.8541 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009754/0.7171, allocations: 0.5121 MB / 0.8546 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7171, allocations: 3.938 kB / 0.8546 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001703/0.7188, allocations: 0.712 MB / 0.8553 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.7189, allocations: 8.094 kB / 0.8553 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.7189, allocations: 0 / 0.8553 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.7195, allocations: 80.77 kB / 0.8554 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.72, allocations: 135.8 kB / 0.8555 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.7222, allocations: 1.52 MB / 0.857 GB, free: 4.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005224/0.7227, allocations: 75.61 kB / 0.8571 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.636e-05/0.7228, allocations: 27.98 kB / 0.8571 GB, free: 4.895 MB / 0.6231 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.0003999/0.7232, allocations: 246.2 kB / 0.8573 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.7233, allocations: 83.58 kB / 0.8574 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.7255, allocations: 0.9539 MB / 0.8584 GB, free: 3.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.7255, allocations: 8 kB / 0.8584 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.7255, allocations: 4 kB / 0.8584 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.7255, allocations: 3.984 kB / 0.8584 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.7286, allocations: 1.672 MB / 0.86 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7286, allocations: 0 / 0.86 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.7291, allocations: 135.8 kB / 0.8601 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.7296, allocations: 76.72 kB / 0.8602 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.7296, allocations: 23.98 kB / 0.8602 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.7315, allocations: 1.543 MB / 0.8617 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.7315, allocations: 0 / 0.8617 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.7333, allocations: 0.8995 MB / 0.8626 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/0.7337, allocations: 179.2 kB / 0.8628 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7338, allocations: 15.94 kB / 0.8628 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.7343, allocations: 54.42 kB / 0.8629 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.7344, allocations: 64.88 kB / 0.8629 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/0.7345, allocations: 27.98 kB / 0.8629 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005562/0.7351, allocations: 447 kB / 0.8634 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7351, allocations: 4 kB / 0.8634 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008161/0.7359, allocations: 291.1 kB / 0.8636 GB, free: 13.98 MB / 0.6387 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.004059/0.7399, allocations: 1.968 MB / 0.8656 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.7415, allocations: 0.6808 MB / 0.8662 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7415, allocations: 4.188 kB / 0.8662 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008263/0.7423, allocations: 456.2 kB / 0.8667 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.7435, allocations: 274 kB / 0.8669 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.7541, allocations: 5.839 MB / 0.8726 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.7545, allocations: 406.9 kB / 0.873 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007922/0.7553, allocations: 251.1 kB / 0.8733 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.7558, allocations: 351.3 kB / 0.8736 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/0.7558, allocations: 0 / 0.8736 GB, free: 3.879 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05867/0.8145, allocations: 20.99 MB / 0.8941 GB, free: 15.12 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.53, allocations: 9.719 kB / 0.8941 GB, free: 15.11 MB / 0.67 GB " [Timeout remaining time 645] (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: 18.463611443992704] Failed to read output from testmodel.py, exit status != 0: 14.811329443007708 14.827061632 14.129331702 Calling exit ...