Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001155/0.001155, allocations: 109 kB / 17.54 MB, free: 4.746 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.00112/0.00112, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.28/1.28, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9798/0.9798, allocations: 175.7 MB / 480.1 MB, free: 2.781 MB / 366.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-master/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_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 68.61 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1503, allocations: 94.54 MB / 0.7601 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006611/0.1569, allocations: 5.224 MB / 0.7652 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4678/0.6247, allocations: 151.3 MB / 0.9129 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006559/0.6254, allocations: 19.31 kB / 0.9129 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.6259, allocations: 207.4 kB / 0.9131 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.6272, allocations: 0.5733 MB / 0.9137 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.6288, allocations: 0.8902 MB / 0.9145 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.6299, allocations: 1.453 MB / 0.916 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.6306, allocations: 469.3 kB / 0.9164 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/0.6311, allocations: 0.519 MB / 0.9169 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005924/0.6317, allocations: 0.5552 MB / 0.9175 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.6318, allocations: 124 kB / 0.9176 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007221/0.6325, allocations: 0.5067 MB / 0.9181 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.6328, allocations: 319 kB / 0.9184 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004926/0.6333, allocations: 0.6058 MB / 0.919 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.6349, allocations: 1.764 MB / 0.9207 GB, free: 13.53 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.6349, allocations: 0 / 0.9207 GB, free: 13.53 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6349, allocations: 0 / 0.9207 GB, free: 13.53 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.635, allocations: 4 kB / 0.9207 GB, free: 13.52 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002298/0.6373, allocations: 1.55 MB / 0.9222 GB, free: 12.3 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.6373, allocations: 10.47 kB / 0.9222 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.6375, allocations: 148.7 kB / 0.9224 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000989/0.6384, allocations: 223.8 kB / 0.9226 GB, free: 12.07 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.6395, allocations: 0.7893 MB / 0.9233 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.6395, allocations: 68.78 kB / 0.9234 GB, free: 11.39 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6397, allocations: 92.62 kB / 0.9235 GB, free: 11.36 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6412, allocations: 1.016 MB / 0.9245 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.6412, allocations: 2.781 kB / 0.9245 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.433e-05/0.6413, allocations: 35.97 kB / 0.9245 GB, free: 10.69 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.6413, allocations: 23.69 kB / 0.9245 GB, free: 10.69 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.643, allocations: 1.174 MB / 0.9257 GB, free: 10.13 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.647, allocations: 3.062 MB / 0.9287 GB, free: 7.613 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.6485, allocations: 0.8685 MB / 0.9295 GB, free: 7.113 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.649, allocations: 282.6 kB / 0.9298 GB, free: 6.973 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006216/0.6496, allocations: 477.1 kB / 0.9303 GB, free: 6.457 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008066/0.6504, allocations: 0.5014 MB / 0.9307 GB, free: 6.133 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 1.984e-06/0.6504, allocations: 3.938 kB / 0.9307 GB, free: 6.129 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.00297/0.6534, allocations: 1.235 MB / 0.932 GB, free: 5.461 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.6535, allocations: 196.1 kB / 0.9321 GB, free: 5.234 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006909/0.6542, allocations: 0.6374 MB / 0.9328 GB, free: 4.867 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-05/0.6543, allocations: 46.75 kB / 0.9328 GB, free: 4.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003419/0.6546, allocations: 434.2 kB / 0.9332 GB, free: 4.441 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.6548, allocations: 278.9 kB / 0.9335 GB, free: 4.199 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.655, allocations: 151.5 kB / 0.9336 GB, free: 4.105 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.6552, allocations: 386.6 kB / 0.934 GB, free: 3.738 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.6557, allocations: 259.1 kB / 0.9342 GB, free: 3.609 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005983/0.6563, allocations: 376.5 kB / 0.9346 GB, free: 3.367 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.6574, allocations: 0.5976 MB / 0.9352 GB, free: 3.051 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.6574, allocations: 0 / 0.9352 GB, free: 3.051 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001748/0.6591, allocations: 0.8395 MB / 0.936 GB, free: 2.613 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.6591, allocations: 4.906 kB / 0.936 GB, free: 2.613 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.6591, allocations: 0 / 0.936 GB, free: 2.613 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005318/0.6597, allocations: 80.08 kB / 0.9361 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006075/0.6603, allocations: 156.8 kB / 0.9362 GB, free: 2.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.6623, allocations: 1.64 MB / 0.9378 GB, free: 0.9297 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006186/0.6629, allocations: 89.42 kB / 0.9379 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.663, allocations: 32.44 kB / 0.938 GB, free: 0.8594 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003603/0.6633, allocations: 276.4 kB / 0.9382 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.6635, allocations: 88.88 kB / 0.9383 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.6657, allocations: 1.098 MB / 0.9394 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.6658, allocations: 14.03 kB / 0.9394 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6658, allocations: 0 / 0.9394 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6658, allocations: 6.984 kB / 0.9394 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003083/0.6689, allocations: 2.023 MB / 0.9414 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.6689, allocations: 0 / 0.9414 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005695/0.6694, allocations: 152.2 kB / 0.9415 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003977/0.6698, allocations: 68.55 kB / 0.9416 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.6699, allocations: 29.97 kB / 0.9416 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.6718, allocations: 1.653 MB / 0.9432 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6718, allocations: 0 / 0.9432 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.6737, allocations: 1.029 MB / 0.9442 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.6741, allocations: 290.5 kB / 0.9445 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.6742, allocations: 24.06 kB / 0.9445 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.6749, allocations: 68.77 kB / 0.9446 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.675, allocations: 68.91 kB / 0.9447 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/0.6751, allocations: 39.97 kB / 0.9447 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005967/0.6757, allocations: 471 kB / 0.9452 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6757, allocations: 0 / 0.9452 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000914/0.6766, allocations: 355.1 kB / 0.9455 GB, free: 11.06 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004019/0.6806, allocations: 2.087 MB / 0.9475 GB, free: 9.133 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.6823, allocations: 0.7999 MB / 0.9483 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6823, allocations: 4 kB / 0.9483 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009253/0.6832, allocations: 0.4965 MB / 0.9488 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6843, allocations: 303.2 kB / 0.9491 GB, free: 7.535 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.6944, allocations: 6.446 MB / 0.9554 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/0.695, allocations: 1.039 MB / 0.9564 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0007901/0.6958, allocations: 270.9 kB / 0.9567 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.6964, allocations: 415.2 kB / 0.9571 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of SimCode: time 6.61e-07/0.6964, allocations: 0 / 0.9571 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06692/0.7633, allocations: 22.58 MB / 0.9791 GB, free: 8.828 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.44, allocations: 16.61 kB / 0.9791 GB, free: 8.812 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.02185258999816]