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.001501/0.001501, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001645/0.001645, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 7.988 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.7935/0.7935, 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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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: 67.33 kB / 0.6185 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 85.92 MB / 0.7024 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006348/0.1554, allocations: 4.267 MB / 0.7066 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4548/0.6102, allocations: 154.1 MB / 0.8571 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005608/0.6107, allocations: 23.81 kB / 0.8571 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.6112, allocations: 180.5 kB / 0.8573 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.6126, allocations: 498.7 kB / 0.8577 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.6144, allocations: 0.8658 MB / 0.8586 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.6156, allocations: 1.227 MB / 0.8598 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007472/0.6164, allocations: 0.5088 MB / 0.8603 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.617, allocations: 490.3 kB / 0.8607 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.6175, allocations: 493.8 kB / 0.8612 GB, free: 3.918 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001636/0.6177, allocations: 116 kB / 0.8613 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008713/0.6186, allocations: 0.5273 MB / 0.8618 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002703/0.6188, allocations: 303 kB / 0.8621 GB, free: 2.984 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004682/0.6193, allocations: 0.5323 MB / 0.8627 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.6211, allocations: 1.644 MB / 0.8643 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6211, allocations: 4 kB / 0.8643 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6211, allocations: 0 / 0.8643 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.6211, allocations: 0 / 0.8643 GB, free: 0.8008 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.002217/0.6233, allocations: 1.381 MB / 0.8656 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6234, allocations: 8.031 kB / 0.8656 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/0.6235, allocations: 139.8 kB / 0.8658 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.6253, allocations: 267.9 kB / 0.866 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.6265, allocations: 0.7019 MB / 0.8667 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/0.6266, allocations: 74 kB / 0.8668 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6267, allocations: 88 kB / 0.8668 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.6282, allocations: 0.9457 MB / 0.8678 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.6282, allocations: 0 / 0.8678 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.929e-05/0.6283, allocations: 40 kB / 0.8678 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.6284, allocations: 23.98 kB / 0.8678 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.6302, allocations: 1.132 MB / 0.8689 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003841/0.6341, allocations: 2.489 MB / 0.8714 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.6355, allocations: 0.6983 MB / 0.8721 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.636, allocations: 266.6 kB / 0.8723 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.6365, allocations: 88.72 kB / 0.8724 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007886/0.6373, allocations: 435.2 kB / 0.8728 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 1.963e-06/0.6373, allocations: 0 / 0.8728 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.002954/0.6402, allocations: 1.034 MB / 0.8738 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.6403, allocations: 192.6 kB / 0.874 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007748/0.6411, allocations: 0.6215 MB / 0.8746 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.044e-05/0.6412, allocations: 37.7 kB / 0.8746 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.6415, allocations: 424.8 kB / 0.875 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/0.6417, allocations: 253.8 kB / 0.8753 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.6419, allocations: 138.2 kB / 0.8754 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.6421, allocations: 382.7 kB / 0.8758 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.6426, allocations: 225.2 kB / 0.876 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005886/0.6432, allocations: 326.7 kB / 0.8763 GB, free: 4.141 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.6442, allocations: 0.5394 MB / 0.8768 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6443, allocations: 0 / 0.8768 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00179/0.646, allocations: 0.7513 MB / 0.8776 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6461, allocations: 4 kB / 0.8776 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.6461, allocations: 0 / 0.8776 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.6467, allocations: 80.88 kB / 0.8777 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.6472, allocations: 146.3 kB / 0.8778 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.6494, allocations: 1.527 MB / 0.8793 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.6499, allocations: 75.56 kB / 0.8794 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.65, allocations: 27.97 kB / 0.8794 GB, free: 0.8516 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.0003701/0.6504, allocations: 265.6 kB / 0.8796 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.6505, allocations: 83.48 kB / 0.8797 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.6528, allocations: 0.9935 MB / 0.8807 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6528, allocations: 12 kB / 0.8807 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.6528, allocations: 3.938 kB / 0.8807 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6528, allocations: 7.922 kB / 0.8807 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.6561, allocations: 1.884 MB / 0.8825 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6561, allocations: 0 / 0.8825 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.6567, allocations: 143.8 kB / 0.8827 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.6571, allocations: 76.78 kB / 0.8828 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.757e-05/0.6572, allocations: 19.98 kB / 0.8828 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/0.6591, allocations: 1.566 MB / 0.8843 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6591, allocations: 3.938 kB / 0.8843 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.6609, allocations: 0.9242 MB / 0.8852 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.6613, allocations: 187.1 kB / 0.8854 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.6615, allocations: 16 kB / 0.8854 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/0.662, allocations: 59.94 kB / 0.8855 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6621, allocations: 60.89 kB / 0.8855 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.6622, allocations: 35.97 kB / 0.8856 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005687/0.6628, allocations: 451 kB / 0.886 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6628, allocations: 0 / 0.886 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007815/0.6635, allocations: 315.1 kB / 0.8863 GB, free: 9.566 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.003988/0.6675, allocations: 2.002 MB / 0.8882 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.6691, allocations: 0.72 MB / 0.8889 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.6691, allocations: 0 / 0.8889 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008742/0.6699, allocations: 472.2 kB / 0.8894 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.671, allocations: 289 kB / 0.8897 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.6818, allocations: 6.128 MB / 0.8957 GB, free: 60 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/0.6825, allocations: 1.03 MB / 0.8967 GB, free: 15 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007786/0.6833, allocations: 262.2 kB / 0.8969 GB, free: 14.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/0.6838, allocations: 387.2 kB / 0.8973 GB, free: 14.36 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.6838, allocations: 0 / 0.8973 GB, free: 14.36 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05882/0.7427, allocations: 21.34 MB / 0.9181 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/14.04, allocations: 12.84 kB / 0.9181 GB, free: 9.16 MB / 0.6856 GB " [Timeout remaining time 646] (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: 17.55695023597218] Failed to read output from testmodel.py, exit status != 0: 14.258713209070265 14.275466548 13.651138872 Calling exit ...