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.00189/0.00189, allocations: 102 kB / 16.45 MB, free: 6.445 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.002092/0.002092, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.477/1.477, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] 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 1.102/1.102, allocations: 175.7 MB / 478.4 MB, free: 3.406 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.001955/0.001955, allocations: 68.14 kB / 0.6652 GB, free: 11.2 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1926, allocations: 94.55 MB / 0.7575 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008059/0.2007, allocations: 5.2 MB / 0.7626 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5637/0.7644, allocations: 151.2 MB / 0.9102 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.7659, allocations: 15.56 kB / 0.9102 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007814/0.7666, allocations: 206.1 kB / 0.9104 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.769, allocations: 0.5777 MB / 0.911 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.7716, allocations: 0.8633 MB / 0.9118 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002162/0.7738, allocations: 1.455 MB / 0.9133 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009289/0.7747, allocations: 478.5 kB / 0.9137 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.7758, allocations: 0.5149 MB / 0.9142 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008325/0.7767, allocations: 0.5532 MB / 0.9148 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.7769, allocations: 124.5 kB / 0.9149 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.7781, allocations: 0.5041 MB / 0.9154 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.7784, allocations: 325.8 kB / 0.9157 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.7791, allocations: 0.6067 MB / 0.9163 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.7811, allocations: 1.761 MB / 0.918 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7811, allocations: 4.125 kB / 0.918 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7811, allocations: 0 / 0.918 GB, free: 14.36 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.7812, allocations: 0 / 0.918 GB, free: 14.36 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.002565/0.7837, allocations: 1.55 MB / 0.9195 GB, free: 13.13 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.7838, allocations: 9.406 kB / 0.9195 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.7839, allocations: 143.1 kB / 0.9196 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.7851, allocations: 223.2 kB / 0.9199 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.7864, allocations: 0.796 MB / 0.9206 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.7864, allocations: 72.95 kB / 0.9207 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.7865, allocations: 92.91 kB / 0.9208 GB, free: 12.19 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.7883, allocations: 1.017 MB / 0.9218 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.7883, allocations: 0 / 0.9218 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.7884, allocations: 38.62 kB / 0.9218 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.7884, allocations: 21.34 kB / 0.9218 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.7903, allocations: 1.178 MB / 0.923 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004729/0.7951, allocations: 3.068 MB / 0.926 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.7967, allocations: 0.8609 MB / 0.9268 GB, free: 7.941 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.7973, allocations: 294.5 kB / 0.9271 GB, free: 7.785 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006891/0.798, allocations: 469.1 kB / 0.9276 GB, free: 7.281 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000922/0.7989, allocations: 0.5052 MB / 0.9281 GB, free: 6.953 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/0.7989, allocations: 0 / 0.9281 GB, free: 6.953 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.003327/0.8022, allocations: 1.233 MB / 0.9293 GB, free: 6.285 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.8024, allocations: 197.9 kB / 0.9294 GB, free: 6.059 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008461/0.8032, allocations: 0.6376 MB / 0.9301 GB, free: 5.695 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.089e-05/0.8033, allocations: 47.33 kB / 0.9301 GB, free: 5.648 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.8037, allocations: 439.4 kB / 0.9305 GB, free: 5.262 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.804, allocations: 270.9 kB / 0.9308 GB, free: 5.027 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.8042, allocations: 153.9 kB / 0.9309 GB, free: 4.934 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.8044, allocations: 387.2 kB / 0.9313 GB, free: 4.566 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005573/0.805, allocations: 256.6 kB / 0.9316 GB, free: 4.438 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.8056, allocations: 374.1 kB / 0.9319 GB, free: 4.203 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.8068, allocations: 0.6054 MB / 0.9325 GB, free: 3.883 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8068, allocations: 0 / 0.9325 GB, free: 3.883 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00203/0.8088, allocations: 0.8307 MB / 0.9333 GB, free: 3.449 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.8089, allocations: 5.625 kB / 0.9333 GB, free: 3.449 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.8089, allocations: 4 kB / 0.9333 GB, free: 3.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/0.8095, allocations: 82.39 kB / 0.9334 GB, free: 3.406 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.8101, allocations: 157.9 kB / 0.9336 GB, free: 3.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.8124, allocations: 1.637 MB / 0.9352 GB, free: 1.758 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.8132, allocations: 102 kB / 0.9352 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.8133, allocations: 28.45 kB / 0.9353 GB, free: 1.684 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.0004749/0.8137, allocations: 272.8 kB / 0.9355 GB, free: 1.469 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.8139, allocations: 96.7 kB / 0.9356 GB, free: 1.414 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.8164, allocations: 1.09 MB / 0.9367 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.8164, allocations: 7.656 kB / 0.9367 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.8164, allocations: 6.375 kB / 0.9367 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.8164, allocations: 11.97 kB / 0.9367 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.8198, allocations: 2.005 MB / 0.9387 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8198, allocations: 0 / 0.9387 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.8204, allocations: 146.5 kB / 0.9388 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004487/0.8208, allocations: 74.28 kB / 0.9389 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-05/0.8209, allocations: 24.14 kB / 0.9389 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.8231, allocations: 1.668 MB / 0.9405 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8231, allocations: 2.125 kB / 0.9405 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.8255, allocations: 1.024 MB / 0.9415 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005597/0.8261, allocations: 280.5 kB / 0.9418 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.8262, allocations: 21.47 kB / 0.9418 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007016/0.8269, allocations: 70.61 kB / 0.9419 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.827, allocations: 68.89 kB / 0.942 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/0.8271, allocations: 35.98 kB / 0.942 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006263/0.8277, allocations: 471 kB / 0.9424 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8277, allocations: 0 / 0.9424 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000981/0.8287, allocations: 355 kB / 0.9428 GB, free: 11.94 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.004461/0.8332, allocations: 2.091 MB / 0.9448 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.8351, allocations: 0.8001 MB / 0.9456 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8351, allocations: 0 / 0.9456 GB, free: 9.203 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.8362, allocations: 0.5002 MB / 0.9461 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.8375, allocations: 306.9 kB / 0.9464 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.8488, allocations: 6.449 MB / 0.9527 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007639/0.8496, allocations: 1.039 MB / 0.9537 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009206/0.8505, allocations: 274.9 kB / 0.954 GB, free: 476 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/0.8511, allocations: 407.3 kB / 0.9544 GB, free: 68 kB / 0.6856 GB Notification: Performance of SimCode: time 8.31e-07/0.8511, allocations: 0 / 0.9544 GB, free: 68 kB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06124/0.9123, allocations: 22.57 MB / 0.9764 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.43, allocations: 5.734 kB / 0.9764 GB, free: 9.797 MB / 0.7169 GB " [Timeout remaining time 645] (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 --stepSize=1160 --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: 18.640578296035528] Failed to read output from testmodel.py, exit status != 0: 14.63525364594534 14.650134848 13.865781647 Calling exit ...