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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 110 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 179] 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.7995/0.7995, allocations: 134 MB / 436.6 MB, free: 1.234 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.14 kB / 0.6051 GB, free: 15.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1452, allocations: 84.68 MB / 0.6878 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00595/0.1511, allocations: 4.219 MB / 0.6919 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4436/0.5947, allocations: 151 MB / 0.8394 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005599/0.5953, allocations: 16.41 kB / 0.8394 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005316/0.5958, allocations: 173.8 kB / 0.8395 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.597, allocations: 480.5 kB / 0.84 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.5987, allocations: 0.8266 MB / 0.8408 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001052/0.5998, allocations: 1.204 MB / 0.842 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006983/0.6005, allocations: 0.5071 MB / 0.8425 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000476/0.6009, allocations: 466.6 kB / 0.8429 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004996/0.6014, allocations: 492.8 kB / 0.8434 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.6016, allocations: 111.2 kB / 0.8435 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006851/0.6022, allocations: 0.4913 MB / 0.844 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.6025, allocations: 293.5 kB / 0.8443 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.6029, allocations: 0.5257 MB / 0.8448 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.6045, allocations: 1.599 MB / 0.8463 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6045, allocations: 0 / 0.8463 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6045, allocations: 0 / 0.8463 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.6045, allocations: 0 / 0.8463 GB, free: 8.477 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.0021/0.6066, allocations: 1.437 MB / 0.8477 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.6066, allocations: 7.969 kB / 0.8477 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.6068, allocations: 142.9 kB / 0.8479 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009901/0.6078, allocations: 206.7 kB / 0.8481 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.6089, allocations: 0.7589 MB / 0.8488 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.6089, allocations: 69.31 kB / 0.8489 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.727e-05/0.609, allocations: 90.45 kB / 0.849 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.6105, allocations: 0.957 MB / 0.8499 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.6105, allocations: 0 / 0.8499 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.719e-05/0.6106, allocations: 37.5 kB / 0.8499 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.6106, allocations: 23.16 kB / 0.85 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.6123, allocations: 1.13 MB / 0.8511 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.6159, allocations: 2.527 MB / 0.8535 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.6173, allocations: 0.7803 MB / 0.8543 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004667/0.6177, allocations: 259.6 kB / 0.8545 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006513/0.6184, allocations: 477.2 kB / 0.855 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000721/0.6191, allocations: 443.2 kB / 0.8554 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 1.924e-06/0.6191, allocations: 0 / 0.8554 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002728/0.6218, allocations: 1.101 MB / 0.8565 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.6219, allocations: 195.5 kB / 0.8567 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.6226, allocations: 0.5959 MB / 0.8573 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.6226, allocations: 38.77 kB / 0.8573 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003094/0.623, allocations: 414.5 kB / 0.8577 GB, free: 312 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.6232, allocations: 253.8 kB / 0.8579 GB, free: 56 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.6234, allocations: 134.2 kB / 0.8581 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.6236, allocations: 382.7 kB / 0.8584 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.624, allocations: 225.2 kB / 0.8586 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.6246, allocations: 322.8 kB / 0.8589 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.6256, allocations: 0.5433 MB / 0.8595 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6256, allocations: 0 / 0.8595 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001746/0.6274, allocations: 0.7435 MB / 0.8602 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6274, allocations: 4 kB / 0.8602 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.6274, allocations: 0 / 0.8602 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.628, allocations: 76.88 kB / 0.8603 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/0.6285, allocations: 143.8 kB / 0.8604 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.6306, allocations: 1.636 MB / 0.862 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.6312, allocations: 75.53 kB / 0.8621 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.6312, allocations: 27.98 kB / 0.8621 GB, free: 11.57 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 (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.0003417/0.6316, allocations: 267.2 kB / 0.8624 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.6317, allocations: 79.48 kB / 0.8624 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.634, allocations: 0.9995 MB / 0.8634 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.634, allocations: 12 kB / 0.8634 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.634, allocations: 4 kB / 0.8634 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.634, allocations: 11.91 kB / 0.8635 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.6372, allocations: 1.893 MB / 0.8653 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6372, allocations: 0 / 0.8653 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.6378, allocations: 143.8 kB / 0.8654 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004207/0.6382, allocations: 72.78 kB / 0.8655 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.084e-05/0.6383, allocations: 23.98 kB / 0.8655 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.6402, allocations: 1.67 MB / 0.8672 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.6402, allocations: 0 / 0.8672 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.6421, allocations: 0.9204 MB / 0.8681 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.6425, allocations: 264.2 kB / 0.8683 GB, free: 4.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.6426, allocations: 16 kB / 0.8683 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.6432, allocations: 59.94 kB / 0.8684 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.6433, allocations: 60.91 kB / 0.8684 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-05/0.6434, allocations: 27.98 kB / 0.8685 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005516/0.6439, allocations: 439 kB / 0.8689 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6439, allocations: 0 / 0.8689 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008194/0.6447, allocations: 315.1 kB / 0.8692 GB, free: 4.07 MB / 0.6231 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.003867/0.6486, allocations: 1.996 MB / 0.8711 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001507/0.6501, allocations: 0.716 MB / 0.8718 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6501, allocations: 0 / 0.8718 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008827/0.651, allocations: 480.2 kB / 0.8723 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.6521, allocations: 281.5 kB / 0.8726 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.6624, allocations: 6.065 MB / 0.8785 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.6631, allocations: 1.015 MB / 0.8795 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007271/0.6638, allocations: 250.3 kB / 0.8797 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.6643, allocations: 379.3 kB / 0.8801 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of SimCode: time 5.72e-07/0.6643, allocations: 0 / 0.8801 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05462/0.7189, allocations: 20.6 MB / 0.9002 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.88, allocations: 0 / 0.9002 GB, free: 4.648 MB / 0.6544 GB " [Timeout remaining time 647] (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: 16.33931343210861] Failed to read output from testmodel.py, exit status != 0: 13.078095701988786 13.092663812 12.485447539 Calling exit ...