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.001401/0.001401, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.00158/0.00158, allocations: 188.5 kB / 22.23 MB, free: 5.105 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.51/1.51, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.155/1.155, allocations: 177.9 MB / 484.2 MB, free: 5.43 MB / 382.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 67.64 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5541/0.5562, allocations: 95.16 MB / 0.7669 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00611/0.5623, allocations: 5.244 MB / 0.772 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.2093/0.7716, allocations: 151.3 MB / 0.9198 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.7731, allocations: 27.81 kB / 0.9198 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.7739, allocations: 206.1 kB / 0.92 GB, free: 5.867 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.7763, allocations: 0.5846 MB / 0.9206 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.7789, allocations: 0.8886 MB / 0.9215 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002201/0.7811, allocations: 1.456 MB / 0.9229 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009023/0.782, allocations: 468.6 kB / 0.9233 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009218/0.7829, allocations: 0.5334 MB / 0.9238 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006948/0.7836, allocations: 0.5445 MB / 0.9244 GB, free: 1.371 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.7838, allocations: 128 kB / 0.9245 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.785, allocations: 0.5074 MB / 0.925 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003732/0.7853, allocations: 315 kB / 0.9253 GB, free: 440 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.786, allocations: 0.6064 MB / 0.9259 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00259/0.7886, allocations: 1.765 MB / 0.9276 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.7886, allocations: 0 / 0.9276 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7886, allocations: 0 / 0.9276 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.039e-05/0.7886, allocations: 4 kB / 0.9276 GB, free: 14.05 MB / 0.7169 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.003105/0.7917, allocations: 1.473 MB / 0.929 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.7917, allocations: 8.031 kB / 0.9291 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.7929, allocations: 224 kB / 0.9293 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.7944, allocations: 0.725 MB / 0.93 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-05/0.7944, allocations: 73.98 kB / 0.93 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.7946, allocations: 95.98 kB / 0.9301 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.7965, allocations: 1.012 MB / 0.9311 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.7965, allocations: 4 kB / 0.9311 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-05/0.7966, allocations: 36 kB / 0.9312 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.7966, allocations: 24 kB / 0.9312 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.7988, allocations: 1.182 MB / 0.9323 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005179/0.804, allocations: 2.969 MB / 0.9352 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.8058, allocations: 0.7926 MB / 0.936 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006477/0.8064, allocations: 298.6 kB / 0.9363 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000511/0.8069, allocations: 84.61 kB / 0.9364 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.8079, allocations: 0.503 MB / 0.9369 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.014e-06/0.8079, allocations: 0 / 0.9369 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.00383/0.8118, allocations: 1.163 MB / 0.938 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.8119, allocations: 188.6 kB / 0.9382 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.813, allocations: 0.6489 MB / 0.9388 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.8131, allocations: 45.69 kB / 0.9389 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.8135, allocations: 429 kB / 0.9393 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000277/0.8138, allocations: 281.6 kB / 0.9395 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.8141, allocations: 166.5 kB / 0.9397 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.8144, allocations: 390.7 kB / 0.9401 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.815, allocations: 277.8 kB / 0.9403 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007303/0.8157, allocations: 375.1 kB / 0.9407 GB, free: 272 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.8172, allocations: 0.6268 MB / 0.9413 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.8172, allocations: 4 kB / 0.9413 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002684/0.8199, allocations: 0.8764 MB / 0.9422 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.8199, allocations: 8 kB / 0.9422 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.82, allocations: 4.078 kB / 0.9422 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006619/0.8206, allocations: 80.78 kB / 0.9423 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009023/0.8215, allocations: 171.8 kB / 0.9424 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.8239, allocations: 1.535 MB / 0.9439 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.825, allocations: 101.8 kB / 0.944 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.337e-05/0.825, allocations: 39.97 kB / 0.9441 GB, free: 12.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (96): * Single equations (assignments): 95 * 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.0006306/0.8257, allocations: 267.4 kB / 0.9443 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.8259, allocations: 95.42 kB / 0.9444 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.8288, allocations: 1.085 MB / 0.9455 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.8288, allocations: 8 kB / 0.9455 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8288, allocations: 4 kB / 0.9455 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/0.8288, allocations: 11.97 kB / 0.9455 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004252/0.8331, allocations: 1.977 MB / 0.9474 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.8331, allocations: 0 / 0.9474 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009394/0.834, allocations: 147.8 kB / 0.9476 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005058/0.8345, allocations: 76.77 kB / 0.9476 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/0.8346, allocations: 27.97 kB / 0.9477 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.8368, allocations: 1.562 MB / 0.9492 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8368, allocations: 0 / 0.9492 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.8392, allocations: 1.026 MB / 0.9502 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.8397, allocations: 195.1 kB / 0.9504 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.8398, allocations: 24 kB / 0.9504 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/0.8407, allocations: 63.94 kB / 0.9505 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.8409, allocations: 72.84 kB / 0.9505 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-05/0.841, allocations: 39.92 kB / 0.9506 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009801/0.842, allocations: 467 kB / 0.951 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.842, allocations: 0 / 0.951 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001098/0.8431, allocations: 363 kB / 0.9514 GB, free: 4.988 MB / 0.7325 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.002166/0.8453, allocations: 0.6167 MB / 0.952 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.8475, allocations: 0.8391 MB / 0.9528 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.8475, allocations: 0 / 0.9528 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.8486, allocations: 0.4924 MB / 0.9533 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.8502, allocations: 311 kB / 0.9536 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.8542, allocations: 1.758 MB / 0.9553 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000856/0.855, allocations: 1.035 MB / 0.9563 GB, free: 60 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009741/0.856, allocations: 274.7 kB / 0.9565 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003083/0.8563, allocations: 103.4 kB / 0.9566 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of SimCode: time 1.012e-06/0.8563, allocations: 7.938 kB / 0.9566 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of Templates: time 0.03457/0.8909, allocations: 16.46 MB / 0.9727 GB, free: 15.39 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.499262686818838] Failed to read output from testmodel.py, exit status != 0: 0.9021692164242268 0.918315702 0.12623941900000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ffa9111d7b0>