Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001201/0.001201, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001329/0.001329, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.8216/0.8216, allocations: 134 MB / 447.2 MB, free: 10.2 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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001891/0.001891, allocations: 70.06 kB / 0.6193 GB, free: 7.152 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1593, allocations: 85.91 MB / 0.7032 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006172/0.1654, allocations: 4.283 MB / 0.7074 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.539/0.7044, allocations: 154.1 MB / 0.8578 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007058/0.7051, allocations: 19.81 kB / 0.8579 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000537/0.7057, allocations: 183.5 kB / 0.858 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.7072, allocations: 500 kB / 0.8585 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.7091, allocations: 0.8653 MB / 0.8594 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001443/0.7106, allocations: 1.223 MB / 0.8605 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008343/0.7114, allocations: 0.5127 MB / 0.861 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007484/0.7122, allocations: 486.3 kB / 0.8615 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.7128, allocations: 497.8 kB / 0.862 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.7129, allocations: 112 kB / 0.8621 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.714, allocations: 0.5314 MB / 0.8626 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.7142, allocations: 295 kB / 0.8629 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004751/0.7147, allocations: 0.5401 MB / 0.8634 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.7168, allocations: 1.636 MB / 0.865 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7168, allocations: 0 / 0.865 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7168, allocations: 3.938 kB / 0.865 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.128e-05/0.7168, allocations: 0 / 0.865 GB, free: 0.7344 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00248/0.7193, allocations: 1.381 MB / 0.8664 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.7194, allocations: 8.031 kB / 0.8664 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.155e-05/0.7194, allocations: 22.19 kB / 0.8664 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.7196, allocations: 153.4 kB / 0.8665 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.7213, allocations: 268 kB / 0.8668 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.7225, allocations: 0.6979 MB / 0.8675 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.7226, allocations: 70 kB / 0.8676 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.7227, allocations: 84 kB / 0.8676 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.7244, allocations: 0.9534 MB / 0.8686 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.7244, allocations: 0 / 0.8686 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/0.7245, allocations: 43.98 kB / 0.8686 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.7245, allocations: 20 kB / 0.8686 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.7264, allocations: 1.132 MB / 0.8697 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.7305, allocations: 2.491 MB / 0.8722 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.732, allocations: 0.7047 MB / 0.8728 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.7325, allocations: 266.6 kB / 0.8731 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/0.733, allocations: 84.69 kB / 0.8732 GB, free: 8.203 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008448/0.7339, allocations: 439.2 kB / 0.8736 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 4.248e-06/0.7339, allocations: 7.984 kB / 0.8736 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.003008/0.7369, allocations: 1.03 MB / 0.8746 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.737, allocations: 188.6 kB / 0.8748 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008274/0.7378, allocations: 0.6254 MB / 0.8754 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.7379, allocations: 37.7 kB / 0.8754 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.7383, allocations: 424.8 kB / 0.8758 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.7385, allocations: 257.8 kB / 0.8761 GB, free: 5.133 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.7387, allocations: 134.2 kB / 0.8762 GB, free: 4.996 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.7389, allocations: 386.7 kB / 0.8766 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004953/0.7394, allocations: 225.2 kB / 0.8768 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.74, allocations: 330.7 kB / 0.8771 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.741, allocations: 0.5472 MB / 0.8777 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.741, allocations: 0 / 0.8777 GB, free: 3.48 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00184/0.7429, allocations: 0.7318 MB / 0.8784 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.7429, allocations: 4 kB / 0.8784 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7429, allocations: 4 kB / 0.8784 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/0.7435, allocations: 80.86 kB / 0.8785 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.7441, allocations: 151.7 kB / 0.8786 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.7462, allocations: 1.516 MB / 0.8801 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.7468, allocations: 81.42 kB / 0.8802 GB, free: 0.7852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.7468, allocations: 23.98 kB / 0.8802 GB, free: 0.7617 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 (76): * Single equations (assignments): 75 * 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.0004469/0.7473, allocations: 265.9 kB / 0.8804 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.7474, allocations: 83.47 kB / 0.8805 GB, free: 420 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002309/0.7497, allocations: 0.9945 MB / 0.8815 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.7497, allocations: 16 kB / 0.8815 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7497, allocations: 3.938 kB / 0.8815 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.7498, allocations: 3.984 kB / 0.8815 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.7532, allocations: 1.88 MB / 0.8833 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7532, allocations: 0 / 0.8833 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.7538, allocations: 151.8 kB / 0.8835 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.7542, allocations: 68.8 kB / 0.8836 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.7543, allocations: 23.97 kB / 0.8836 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/0.7563, allocations: 1.562 MB / 0.8851 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.7563, allocations: 0 / 0.8851 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.7584, allocations: 0.9359 MB / 0.886 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.7589, allocations: 183.1 kB / 0.8862 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.759, allocations: 16 kB / 0.8862 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.7596, allocations: 59.94 kB / 0.8863 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.7597, allocations: 64.94 kB / 0.8863 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.235e-05/0.7598, allocations: 35.98 kB / 0.8864 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007115/0.7605, allocations: 455 kB / 0.8868 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7605, allocations: 0 / 0.8868 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001071/0.7616, allocations: 315.1 kB / 0.8871 GB, free: 9.465 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 (84): * Single equations (assignments): 81 * 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.00442/0.766, allocations: 1.997 MB / 0.889 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0017/0.7677, allocations: 0.7198 MB / 0.8897 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7677, allocations: 0 / 0.8897 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009347/0.7686, allocations: 468.4 kB / 0.8902 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.77, allocations: 281.3 kB / 0.8905 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.7817, allocations: 6.135 MB / 0.8965 GB, free: 15.96 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/0.7824, allocations: 1.019 MB / 0.8974 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009554/0.7833, allocations: 278.1 kB / 0.8977 GB, free: 14.64 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005759/0.7839, allocations: 387.3 kB / 0.8981 GB, free: 14.26 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/0.7839, allocations: 0 / 0.8981 GB, free: 14.26 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08552/0.8694, allocations: 21.37 MB / 0.919 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.36, allocations: 11.98 kB / 0.919 GB, free: 9.035 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --stepSize=1160 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.11192212405149] Failed to read output from testmodel.py, exit status != 0: 14.63831310509704 14.660084915 13.938988883 Calling exit ...