Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008388/0.000839, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006913/0.006913, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7758/0.7758, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004662, allocations: 8 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4622, allocations: 81.59 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.00518/0.4674, allocations: 3.997 MB / 0.5876 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1681/0.6355, allocations: 146.8 MB / 0.7309 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.6365, allocations: 15.88 kB / 0.7309 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007812/0.6373, allocations: 134.9 kB / 0.731 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.6391, allocations: 405.1 kB / 0.7314 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.6411, allocations: 0.7815 MB / 0.7322 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001821/0.6429, allocations: 1.282 MB / 0.7334 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.6443, allocations: 0.7526 MB / 0.7342 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007201/0.645, allocations: 370.2 kB / 0.7345 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.6457, allocations: 429.7 kB / 0.7349 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.6459, allocations: 28 kB / 0.735 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.647, allocations: 399.6 kB / 0.7353 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.6474, allocations: 211 kB / 0.7355 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007119/0.6481, allocations: 490.6 kB / 0.736 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002739/0.6509, allocations: 1.588 MB / 0.7376 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6509, allocations: 4 kB / 0.7376 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6509, allocations: 0 / 0.7376 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.539e-05/0.651, allocations: 0 / 0.7376 GB, free: 2.262 MB / 0.5606 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.00295/0.6539, allocations: 1.307 MB / 0.7388 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.654, allocations: 8.031 kB / 0.7389 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005555/0.6595, allocations: 0.8148 MB / 0.7396 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.661, allocations: 0.7812 MB / 0.7404 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.675e-05/0.6611, allocations: 74.09 kB / 0.7405 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.6613, allocations: 104 kB / 0.7406 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/0.665, allocations: 1.399 MB / 0.7419 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.6651, allocations: 0 / 0.7419 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.6652, allocations: 44 kB / 0.742 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.6652, allocations: 28 kB / 0.742 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004959/0.6702, allocations: 1.889 MB / 0.7439 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006652/0.6769, allocations: 3.173 MB / 0.747 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003518/0.6804, allocations: 1.288 MB / 0.7482 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.6821, allocations: 0.5777 MB / 0.7488 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006897/0.6828, allocations: 474.6 kB / 0.7492 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001853/0.6847, allocations: 0.7426 MB / 0.75 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 2.895e-06/0.6847, allocations: 0 / 0.75 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.006179/0.6909, allocations: 1.868 MB / 0.7518 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.691, allocations: 192.9 kB / 0.752 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.6919, allocations: 0.6095 MB / 0.7526 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/0.6921, allocations: 49.69 kB / 0.7526 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.6925, allocations: 412.5 kB / 0.753 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003525/0.6928, allocations: 331.2 kB / 0.7533 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.693, allocations: 81.67 kB / 0.7534 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6932, allocations: 386.8 kB / 0.7538 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/0.6947, allocations: 485.7 kB / 0.7542 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.6964, allocations: 0.5818 MB / 0.7548 GB, free: 104 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002963/0.6994, allocations: 1.043 MB / 0.7558 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.6994, allocations: 4 kB / 0.7558 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0041/0.7035, allocations: 1.305 MB / 0.7571 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.7036, allocations: 8 kB / 0.7571 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.7036, allocations: 0 / 0.7571 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007238/0.7043, allocations: 84.89 kB / 0.7572 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.7058, allocations: 255.6 kB / 0.7574 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/0.7085, allocations: 1.52 MB / 0.7589 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.7099, allocations: 172.4 kB / 0.7591 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.71, allocations: 47.95 kB / 0.7591 GB, free: 11.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (112): * Single equations (assignments): 111 * 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.0007688/0.7108, allocations: 274.3 kB / 0.7594 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.7112, allocations: 83.03 kB / 0.7595 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/0.7161, allocations: 1.601 MB / 0.761 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.7162, allocations: 15.98 kB / 0.761 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7162, allocations: 0 / 0.761 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.7162, allocations: 7.969 kB / 0.761 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006552/0.7227, allocations: 2.75 MB / 0.7637 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7228, allocations: 0 / 0.7637 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.7241, allocations: 247.7 kB / 0.764 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005397/0.7247, allocations: 88.7 kB / 0.7641 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/0.7248, allocations: 35.97 kB / 0.7641 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.7267, allocations: 1.548 MB / 0.7656 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.7268, allocations: 0 / 0.7656 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004115/0.7309, allocations: 1.453 MB / 0.767 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005169/0.7314, allocations: 307.5 kB / 0.7673 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.7316, allocations: 24 kB / 0.7673 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001249/0.7328, allocations: 128.8 kB / 0.7675 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/0.733, allocations: 72.89 kB / 0.7675 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-05/0.7331, allocations: 39.98 kB / 0.7676 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006258/0.7338, allocations: 447 kB / 0.768 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7338, allocations: 0 / 0.768 GB, free: 2.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001085/0.7349, allocations: 371 kB / 0.7683 GB, free: 1.797 MB / 0.5919 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.001495/0.7364, allocations: 0.6056 MB / 0.7689 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003679/0.7401, allocations: 1.315 MB / 0.7702 GB, free: 72 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7401, allocations: 0 / 0.7702 GB, free: 72 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.7421, allocations: 0.7851 MB / 0.771 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.7434, allocations: 277.3 kB / 0.7713 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.7489, allocations: 2.651 MB / 0.7738 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/0.7496, allocations: 1.066 MB / 0.7749 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001426/0.7511, allocations: 322.4 kB / 0.7752 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004294/0.7515, allocations: 123.4 kB / 0.7753 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of SimCode: time 1.382e-06/0.7515, allocations: 0 / 0.7753 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Templates: time 0.0307/0.7822, allocations: 16.39 MB / 0.7913 GB, free: 10.61 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)