Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00727/0.00727, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.002022/0.002022, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9327/0.9327, allocations: 135.5 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 63.89 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3239, allocations: 81.02 MB / 0.6649 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004661/0.3286, allocations: 4.408 MB / 0.6692 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.165/0.4936, allocations: 150.7 MB / 0.8163 GB, free: 5.258 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007992/0.4944, allocations: 15.94 kB / 0.8163 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.4949, allocations: 178.3 kB / 0.8165 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.4965, allocations: 487.4 kB / 0.817 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/0.4985, allocations: 0.8999 MB / 0.8178 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001391/0.4999, allocations: 1.36 MB / 0.8192 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.501, allocations: 0.8007 MB / 0.82 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006284/0.5016, allocations: 0.5177 MB / 0.8205 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006794/0.5023, allocations: 0.5756 MB / 0.821 GB, free: 408 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.5025, allocations: 136 kB / 0.8212 GB, free: 272 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009417/0.5034, allocations: 0.5152 MB / 0.8217 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.5037, allocations: 327 kB / 0.822 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005337/0.5043, allocations: 0.6023 MB / 0.8226 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.5062, allocations: 1.751 MB / 0.8243 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5062, allocations: 0 / 0.8243 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5063, allocations: 0 / 0.8243 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.5063, allocations: 0 / 0.8243 GB, free: 13.07 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002741/0.509, allocations: 1.601 MB / 0.8258 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.5091, allocations: 8.031 kB / 0.8258 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/0.5093, allocations: 164.7 kB / 0.826 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.5145, allocations: 0.7608 MB / 0.8267 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.5157, allocations: 0.8011 MB / 0.8275 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.065e-05/0.5158, allocations: 86.08 kB / 0.8276 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.516, allocations: 96 kB / 0.8277 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.5191, allocations: 1.371 MB / 0.829 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5191, allocations: 3.938 kB / 0.829 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.5193, allocations: 48 kB / 0.8291 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/0.5193, allocations: 24 kB / 0.8291 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00477/0.5241, allocations: 1.838 MB / 0.8309 GB, free: 6.086 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005783/0.5299, allocations: 3.085 MB / 0.8339 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.5333, allocations: 1.281 MB / 0.8352 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.5349, allocations: 0.5691 MB / 0.8357 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006962/0.5356, allocations: 482.6 kB / 0.8362 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001868/0.5374, allocations: 0.7426 MB / 0.8369 GB, free: 15.73 MB / 0.67 GB Notification: Performance of pre-optimization done (n=100): time 2.424e-06/0.5375, allocations: 0 / 0.8369 GB, free: 15.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=100): time 0.006148/0.5436, allocations: 1.841 MB / 0.8387 GB, free: 13.86 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.5437, allocations: 196.9 kB / 0.8389 GB, free: 13.63 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007988/0.5446, allocations: 0.6057 MB / 0.8395 GB, free: 13.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.752e-05/0.5446, allocations: 53.7 kB / 0.8395 GB, free: 12.96 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.545, allocations: 429.2 kB / 0.8399 GB, free: 12.53 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.5453, allocations: 348.9 kB / 0.8403 GB, free: 12.19 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.5456, allocations: 170.6 kB / 0.8404 GB, free: 12.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.5458, allocations: 390.7 kB / 0.8408 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.5473, allocations: 453.7 kB / 0.8412 GB, free: 11.18 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.5489, allocations: 0.5735 MB / 0.8418 GB, free: 10.58 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/0.5519, allocations: 1.004 MB / 0.8428 GB, free: 9.562 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5519, allocations: 3.938 kB / 0.8428 GB, free: 9.559 MB / 0.67 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003888/0.5558, allocations: 1.247 MB / 0.844 GB, free: 8.301 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.5559, allocations: 4 kB / 0.844 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5559, allocations: 4 kB / 0.844 GB, free: 8.293 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.5565, allocations: 80.91 kB / 0.8441 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.5578, allocations: 247.6 kB / 0.8443 GB, free: 7.969 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/0.56, allocations: 1.625 MB / 0.8459 GB, free: 6.199 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.5612, allocations: 153.9 kB / 0.8461 GB, free: 6.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.583e-05/0.5613, allocations: 43.95 kB / 0.8461 GB, free: 6.008 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (104): * Single equations (assignments): 103 * 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.0004953/0.5618, allocations: 275.1 kB / 0.8464 GB, free: 5.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.562, allocations: 87.44 kB / 0.8464 GB, free: 5.645 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/0.5666, allocations: 1.57 MB / 0.848 GB, free: 4.062 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5666, allocations: 16 kB / 0.848 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5666, allocations: 0 / 0.848 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.5666, allocations: 7.969 kB / 0.848 GB, free: 4.039 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006081/0.5727, allocations: 2.741 MB / 0.8507 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5727, allocations: 0 / 0.8507 GB, free: 1.23 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.5741, allocations: 251.6 kB / 0.8509 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.5745, allocations: 76.8 kB / 0.851 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.494e-05/0.5746, allocations: 35.84 kB / 0.851 GB, free: 0.8711 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/0.5766, allocations: 1.662 MB / 0.8526 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5766, allocations: 0 / 0.8526 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004043/0.5807, allocations: 1.436 MB / 0.854 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004164/0.5811, allocations: 300.1 kB / 0.8543 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.5813, allocations: 27.98 kB / 0.8544 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.5825, allocations: 111.8 kB / 0.8545 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.5826, allocations: 72.89 kB / 0.8545 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.5827, allocations: 39.97 kB / 0.8546 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005735/0.5833, allocations: 451 kB / 0.855 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5833, allocations: 3.938 kB / 0.855 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000915/0.5843, allocations: 359 kB / 0.8554 GB, free: 12.26 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: 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 (113): * Single equations (assignments): 110 * 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.006162/0.5904, allocations: 2.509 MB / 0.8578 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003717/0.5942, allocations: 1.28 MB / 0.8591 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5942, allocations: 0 / 0.8591 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.5961, allocations: 0.7812 MB / 0.8598 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.5975, allocations: 304.8 kB / 0.8601 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.276/0.8734, allocations: 7.826 MB / 0.8677 GB, free: 190 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006277/0.8741, allocations: 1.059 MB / 0.8688 GB, free: 189.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001306/0.8754, allocations: 325.9 kB / 0.8691 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/0.8761, allocations: 430.1 kB / 0.8695 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/0.8761, allocations: 0 / 0.8695 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5104/1.387, allocations: 24.07 MB / 0.893 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/17.02, allocations: 5.297 kB / 0.893 GB, free: 179.2 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)