Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001609/0.001609, 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.001473/0.001473, allocations: 215.1 kB / 23.04 MB, free: 5.07 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8114/0.8114, allocations: 134 MB / 447.2 MB, free: 10.19 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.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001846/0.001846, allocations: 67.66 kB / 0.6193 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1661, allocations: 85.91 MB / 0.7032 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006435/0.1726, allocations: 4.28 MB / 0.7074 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5183/0.6909, allocations: 154 MB / 0.8578 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007202/0.6916, allocations: 23.81 kB / 0.8578 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.6923, allocations: 185.4 kB / 0.858 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/0.694, allocations: 495.6 kB / 0.8585 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.6961, allocations: 0.8523 MB / 0.8593 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.6977, allocations: 1.227 MB / 0.8605 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009161/0.6986, allocations: 0.5139 MB / 0.861 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007896/0.6994, allocations: 494.2 kB / 0.8615 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007855/0.7002, allocations: 0.4939 MB / 0.8619 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002477/0.7005, allocations: 116 kB / 0.862 GB, free: 3.898 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.7015, allocations: 0.5123 MB / 0.8625 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.7019, allocations: 303 kB / 0.8628 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006695/0.7026, allocations: 0.5401 MB / 0.8634 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.7051, allocations: 1.644 MB / 0.865 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.7051, allocations: 0 / 0.865 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7051, allocations: 0 / 0.865 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.718e-05/0.7051, allocations: 0 / 0.865 GB, free: 0.9062 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002968/0.7081, allocations: 1.388 MB / 0.8663 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.7081, allocations: 12.03 kB / 0.8663 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.399e-05/0.7082, allocations: 22.19 kB / 0.8664 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.7083, allocations: 143.9 kB / 0.8665 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.7108, allocations: 367.8 kB / 0.8668 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.712, allocations: 0.7023 MB / 0.8675 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-05/0.7121, allocations: 74 kB / 0.8676 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.7122, allocations: 84 kB / 0.8677 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.714, allocations: 1.011 MB / 0.8687 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.714, allocations: 0 / 0.8687 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/0.7141, allocations: 36 kB / 0.8687 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.045e-05/0.7142, allocations: 24 kB / 0.8687 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.7164, allocations: 1.225 MB / 0.8699 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004257/0.7207, allocations: 2.498 MB / 0.8724 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00239/0.7231, allocations: 0.8192 MB / 0.8732 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007268/0.7238, allocations: 306.7 kB / 0.8735 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.277e-05/0.7239, allocations: 36.67 kB / 0.8735 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009968/0.7249, allocations: 491.1 kB / 0.874 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=75): time 2.194e-06/0.7249, allocations: 0 / 0.874 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75): time 0.00356/0.7284, allocations: 1.163 MB / 0.8751 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.7286, allocations: 192.6 kB / 0.8753 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000919/0.7295, allocations: 0.6254 MB / 0.8759 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.7296, allocations: 37.7 kB / 0.8759 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.7299, allocations: 428.8 kB / 0.8763 GB, free: 5.004 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.7302, allocations: 253.8 kB / 0.8766 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.7304, allocations: 134.2 kB / 0.8767 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001948/0.7306, allocations: 390.7 kB / 0.8771 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/0.7313, allocations: 265.1 kB / 0.8773 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/0.7321, allocations: 370.8 kB / 0.8777 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.7336, allocations: 0.6331 MB / 0.8783 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7336, allocations: 0 / 0.8783 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002327/0.7359, allocations: 0.8333 MB / 0.8791 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.736, allocations: 6.344 kB / 0.8791 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.736, allocations: 0 / 0.8791 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/0.7366, allocations: 92.73 kB / 0.8792 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/0.7373, allocations: 163.8 kB / 0.8794 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.7396, allocations: 1.527 MB / 0.8809 GB, free: 192 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/0.7404, allocations: 102 kB / 0.881 GB, free: 92 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.7405, allocations: 27.98 kB / 0.881 GB, free: 64 kB / 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 (78): * Single equations (assignments): 77 * 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.0005486/0.741, allocations: 264.4 kB / 0.8812 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.7413, allocations: 83.48 kB / 0.8813 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/0.7442, allocations: 1.096 MB / 0.8824 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.7442, allocations: 11.94 kB / 0.8824 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7442, allocations: 11.92 kB / 0.8824 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.7442, allocations: 7.984 kB / 0.8824 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/0.7484, allocations: 2.013 MB / 0.8844 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7484, allocations: 0 / 0.8844 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007368/0.7491, allocations: 175.8 kB / 0.8845 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.7496, allocations: 68.78 kB / 0.8846 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.095e-05/0.7496, allocations: 23.98 kB / 0.8846 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.7516, allocations: 1.558 MB / 0.8862 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7516, allocations: 0 / 0.8862 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.7541, allocations: 1.034 MB / 0.8872 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.7546, allocations: 191.1 kB / 0.8873 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.7548, allocations: 20 kB / 0.8874 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007495/0.7555, allocations: 71.92 kB / 0.8874 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.7557, allocations: 64.88 kB / 0.8875 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.7557, allocations: 27.98 kB / 0.8875 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006896/0.7564, allocations: 463 kB / 0.888 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7564, allocations: 0 / 0.888 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009459/0.7574, allocations: 311 kB / 0.8883 GB, free: 8.387 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 (88): * Single equations (assignments): 85 * 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.004712/0.7621, allocations: 2.082 MB / 0.8903 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.7643, allocations: 0.8137 MB / 0.8911 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7643, allocations: 4 kB / 0.8911 GB, free: 5.672 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.7656, allocations: 0.508 MB / 0.8916 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.7669, allocations: 282.9 kB / 0.8919 GB, free: 4.891 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.7806, allocations: 6.461 MB / 0.8982 GB, free: 14.32 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.7815, allocations: 1.027 MB / 0.8992 GB, free: 13.26 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001057/0.7825, allocations: 270.5 kB / 0.8994 GB, free: 12.99 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006932/0.7832, allocations: 391.3 kB / 0.8998 GB, free: 12.61 MB / 0.67 GB Notification: Performance of SimCode: time 1.092e-06/0.7832, allocations: 0 / 0.8998 GB, free: 12.61 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05625/0.8395, allocations: 21.73 MB / 0.921 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.33, allocations: 0 / 0.921 GB, free: 7.047 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.147049312014133] Failed to read output from testmodel.py, exit status != 0: 14.604166999924928 14.632608536 13.922280555 Calling exit ...