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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 110.6 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 197.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7295/0.7295, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.272, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004459/0.2765, allocations: 4.181 MB / 0.5899 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1289/0.4054, allocations: 150.5 MB / 0.7369 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006764/0.4061, allocations: 15.94 kB / 0.7369 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005557/0.4067, allocations: 174.4 kB / 0.737 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.4082, allocations: 476.2 kB / 0.7375 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.41, allocations: 0.8207 MB / 0.7383 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001169/0.4112, allocations: 1.207 MB / 0.7395 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008419/0.4121, allocations: 0.6845 MB / 0.7401 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005162/0.4126, allocations: 454.4 kB / 0.7406 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.413, allocations: 493.7 kB / 0.7411 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.4132, allocations: 116 kB / 0.7412 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007184/0.4139, allocations: 495.6 kB / 0.7416 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.4141, allocations: 287.1 kB / 0.7419 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003776/0.4145, allocations: 0.5362 MB / 0.7424 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.4158, allocations: 1.581 MB / 0.744 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4159, allocations: 3.938 kB / 0.744 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4159, allocations: 0 / 0.744 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.4159, allocations: 0 / 0.744 GB, free: 7.988 MB / 0.5762 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.001929/0.4178, allocations: 1.396 MB / 0.7453 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.4179, allocations: 9.109 kB / 0.7454 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.4189, allocations: 203.4 kB / 0.7455 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4199, allocations: 0.7462 MB / 0.7463 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.42, allocations: 66 kB / 0.7463 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/0.4201, allocations: 88 kB / 0.7464 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/0.4214, allocations: 0.9574 MB / 0.7474 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.4215, allocations: 3.938 kB / 0.7474 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.4216, allocations: 43.94 kB / 0.7474 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.4216, allocations: 24 kB / 0.7474 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.4232, allocations: 1.116 MB / 0.7485 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.4265, allocations: 2.524 MB / 0.751 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2117/0.6382, allocations: 0.8184 MB / 0.7518 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006278/0.6389, allocations: 289.8 kB / 0.7521 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/0.6394, allocations: 476 kB / 0.7525 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008206/0.6403, allocations: 433.2 kB / 0.7529 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 3.787e-06/0.6403, allocations: 1.125 kB / 0.7529 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.00279/0.6431, allocations: 1.101 MB / 0.754 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.6432, allocations: 190.6 kB / 0.7542 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008069/0.644, allocations: 0.598 MB / 0.7548 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.6441, allocations: 42.33 kB / 0.7548 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.6443, allocations: 401.5 kB / 0.7552 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.6445, allocations: 241.3 kB / 0.7554 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.6447, allocations: 153.3 kB / 0.7556 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.6449, allocations: 382.2 kB / 0.7559 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004963/0.6454, allocations: 248.2 kB / 0.7562 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.6459, allocations: 333 kB / 0.7565 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/0.6469, allocations: 0.5721 MB / 0.757 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6469, allocations: 2.406 kB / 0.757 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001845/0.6488, allocations: 0.7917 MB / 0.7578 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.6488, allocations: 14.41 kB / 0.7578 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.6488, allocations: 0.9688 kB / 0.7578 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005579/0.6494, allocations: 81.56 kB / 0.7579 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.65, allocations: 150.7 kB / 0.7581 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.6517, allocations: 1.62 MB / 0.7596 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005936/0.6523, allocations: 89.73 kB / 0.7597 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/0.6524, allocations: 31.95 kB / 0.7598 GB, free: 160.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (84): * Single equations (assignments): 83 * 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.0003399/0.6527, allocations: 264.9 kB / 0.76 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.6529, allocations: 75.97 kB / 0.7601 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.6551, allocations: 0.9957 MB / 0.7611 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.6551, allocations: 8.656 kB / 0.7611 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6551, allocations: 0.5625 kB / 0.7611 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6551, allocations: 6.906 kB / 0.7611 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.6579, allocations: 1.89 MB / 0.7629 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6579, allocations: 1.969 kB / 0.7629 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.6585, allocations: 147.7 kB / 0.7631 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003883/0.6589, allocations: 75.16 kB / 0.7631 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-05/0.6589, allocations: 27.91 kB / 0.7632 GB, free: 158.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.6603, allocations: 1.658 MB / 0.7648 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6603, allocations: 3.609 kB / 0.7648 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.6619, allocations: 0.9299 MB / 0.7657 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.6622, allocations: 254.2 kB / 0.7659 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-05/0.6623, allocations: 19.8 kB / 0.7659 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.6628, allocations: 52.11 kB / 0.766 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.266e-05/0.6629, allocations: 59.62 kB / 0.7661 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/0.663, allocations: 33.7 kB / 0.7661 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003711/0.6634, allocations: 438.6 kB / 0.7665 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6634, allocations: 0 / 0.7665 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006954/0.6641, allocations: 319.9 kB / 0.7668 GB, free: 155.7 MB / 0.5762 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.001145/0.6652, allocations: 0.6205 MB / 0.7674 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001248/0.6665, allocations: 0.7727 MB / 0.7682 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6665, allocations: 3.562 kB / 0.7682 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006825/0.6672, allocations: 496.3 kB / 0.7686 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009475/0.6681, allocations: 283.8 kB / 0.7689 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.671, allocations: 1.722 MB / 0.7706 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.6713, allocations: 1.009 MB / 0.7716 GB, free: 151.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006003/0.6719, allocations: 266.6 kB / 0.7718 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.6721, allocations: 103.4 kB / 0.7719 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.6722, allocations: 0 / 0.7719 GB, free: 151.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02381/0.696, allocations: 14.17 MB / 0.7858 GB, free: 137.1 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)