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.0009986/0.0009986, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001263/0.001263, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8953/0.8953, allocations: 135.3 MB / 426.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 8 kB / 0.5071 GB, free: 5.043 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 82.31 MB / 0.5875 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004501/0.1499, allocations: 3.775 MB / 0.5912 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4453/0.5953, allocations: 136.9 MB / 0.7248 GB, free: 7.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004926/0.5958, allocations: 16.38 kB / 0.7248 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.5963, allocations: 126.8 kB / 0.725 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.5975, allocations: 391.8 kB / 0.7253 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.5995, allocations: 0.6935 MB / 0.726 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001371/0.6008, allocations: 1.17 MB / 0.7271 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008061/0.6016, allocations: 0.5623 MB / 0.7277 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005696/0.6022, allocations: 361.7 kB / 0.728 GB, free: 5.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.6028, allocations: 416.7 kB / 0.7284 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-05/0.6029, allocations: 29.81 kB / 0.7285 GB, free: 5.633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009069/0.6038, allocations: 361.3 kB / 0.7288 GB, free: 5.539 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.604, allocations: 200.7 kB / 0.729 GB, free: 5.445 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.6043, allocations: 203.8 kB / 0.7292 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.6058, allocations: 1.246 MB / 0.7304 GB, free: 4.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6058, allocations: 0.7031 kB / 0.7304 GB, free: 4.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6058, allocations: 4 kB / 0.7304 GB, free: 4.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.6058, allocations: 0 / 0.7304 GB, free: 4.98 MB / 0.545 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.002571/0.6084, allocations: 1.329 MB / 0.7317 GB, free: 4.105 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.6084, allocations: 8.344 kB / 0.7317 GB, free: 4.105 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.6086, allocations: 161.8 kB / 0.7319 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004809/0.6135, allocations: 0.8153 MB / 0.7327 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.6146, allocations: 0.7501 MB / 0.7334 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.6147, allocations: 78.16 kB / 0.7335 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.6148, allocations: 105.8 kB / 0.7336 GB, free: 3.344 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.6179, allocations: 1.39 MB / 0.7349 GB, free: 2.785 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.6179, allocations: 3.984 kB / 0.7349 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.618, allocations: 51.83 kB / 0.735 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.6181, allocations: 26.12 kB / 0.735 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/0.6223, allocations: 1.882 MB / 0.7369 GB, free: 1.957 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005415/0.6278, allocations: 3.161 MB / 0.7399 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.6305, allocations: 1.28 MB / 0.7412 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.6318, allocations: 0.5725 MB / 0.7418 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006179/0.6325, allocations: 474.6 kB / 0.7422 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/0.6341, allocations: 0.7387 MB / 0.7429 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=100): time 2.495e-06/0.6341, allocations: 0 / 0.7429 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100): time 0.005289/0.6394, allocations: 1.86 MB / 0.7447 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.6396, allocations: 196.9 kB / 0.7449 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/0.6403, allocations: 0.6057 MB / 0.7455 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-05/0.6404, allocations: 45.7 kB / 0.7456 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.6408, allocations: 416.5 kB / 0.746 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.641, allocations: 339 kB / 0.7463 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.6411, allocations: 20 kB / 0.7463 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6412, allocations: 390.7 kB / 0.7467 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.6425, allocations: 457.7 kB / 0.7471 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.6438, allocations: 0.5773 MB / 0.7477 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.6451, allocations: 498.8 kB / 0.7482 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6451, allocations: 0 / 0.7482 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003218/0.6483, allocations: 1.255 MB / 0.7494 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6484, allocations: 8.125 kB / 0.7494 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.6484, allocations: 4 kB / 0.7494 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/0.6489, allocations: 84.72 kB / 0.7495 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.6502, allocations: 243.7 kB / 0.7497 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.652, allocations: 1.523 MB / 0.7512 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.653, allocations: 155.2 kB / 0.7513 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/0.6531, allocations: 39.97 kB / 0.7514 GB, free: 4.328 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004772/0.6536, allocations: 269.6 kB / 0.7516 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6537, allocations: 86.97 kB / 0.7517 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.6578, allocations: 1.598 MB / 0.7533 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.6578, allocations: 16 kB / 0.7533 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6579, allocations: 0 / 0.7533 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.6579, allocations: 3.984 kB / 0.7533 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005342/0.6632, allocations: 2.749 MB / 0.756 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.6632, allocations: 4 kB / 0.756 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.6645, allocations: 251.6 kB / 0.7562 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/0.665, allocations: 84.77 kB / 0.7563 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.462e-05/0.6651, allocations: 31.97 kB / 0.7563 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.6667, allocations: 1.54 MB / 0.7578 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6667, allocations: 0 / 0.7578 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.6702, allocations: 1.445 MB / 0.7592 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004189/0.6706, allocations: 311.5 kB / 0.7595 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.6708, allocations: 27.95 kB / 0.7596 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.6718, allocations: 127.9 kB / 0.7597 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6719, allocations: 72.89 kB / 0.7598 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-05/0.672, allocations: 43.97 kB / 0.7598 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005386/0.6726, allocations: 442.9 kB / 0.7602 GB, free: 11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6726, allocations: 0 / 0.7602 GB, free: 11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001045/0.6736, allocations: 363 kB / 0.7606 GB, free: 10.64 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 (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004947/0.6786, allocations: 2.512 MB / 0.763 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00311/0.6817, allocations: 1.276 MB / 0.7643 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6817, allocations: 4 kB / 0.7643 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/0.6834, allocations: 0.7772 MB / 0.765 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.6847, allocations: 260.3 kB / 0.7653 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.6978, allocations: 6.134 MB / 0.7713 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006322/0.6985, allocations: 1.06 MB / 0.7723 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001458/0.7, allocations: 331.2 kB / 0.7726 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007068/0.7007, allocations: 431.2 kB / 0.773 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.7007, allocations: 0 / 0.773 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04251/0.7432, allocations: 23.79 MB / 0.7963 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.7435, allocations: 297.5 kB / 0.7966 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.116, allocations: 4 kB / 0.7966 GB, free: 6.172 MB / 0.6075 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/linux/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) Environment - environmentSimulation: