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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_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.001413/0.001413, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.123/1.123, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6908/0.6908, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 64.78 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3217, allocations: 80.2 MB / 0.5802 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004866/0.3266, allocations: 4.41 MB / 0.5845 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1502/0.4768, allocations: 150.7 MB / 0.7316 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000869/0.4777, allocations: 19.88 kB / 0.7317 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006407/0.4784, allocations: 174.3 kB / 0.7318 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.4801, allocations: 484.3 kB / 0.7323 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002097/0.4822, allocations: 0.8948 MB / 0.7332 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.4834, allocations: 1.364 MB / 0.7345 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009373/0.4844, allocations: 0.7896 MB / 0.7353 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.4849, allocations: 0.5217 MB / 0.7358 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005892/0.4855, allocations: 0.5679 MB / 0.7363 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.4857, allocations: 132 kB / 0.7364 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008215/0.4865, allocations: 495.6 kB / 0.7369 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.4868, allocations: 338.9 kB / 0.7372 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.4873, allocations: 0.5946 MB / 0.7378 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001611/0.4889, allocations: 1.706 MB / 0.7395 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4889, allocations: 0 / 0.7395 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.489, allocations: 0 / 0.7395 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.489, allocations: 0 / 0.7395 GB, free: 13.68 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002449/0.4914, allocations: 1.572 MB / 0.741 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.4915, allocations: 8.031 kB / 0.741 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.4916, allocations: 160.8 kB / 0.7412 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/0.4967, allocations: 0.7445 MB / 0.7419 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009879/0.4977, allocations: 0.781 MB / 0.7427 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.4977, allocations: 74.09 kB / 0.7427 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/0.4979, allocations: 108 kB / 0.7428 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002817/0.5007, allocations: 1.364 MB / 0.7442 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.5008, allocations: 0 / 0.7442 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.5009, allocations: 44 kB / 0.7442 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.5009, allocations: 28 kB / 0.7442 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004322/0.5052, allocations: 1.834 MB / 0.746 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005242/0.5105, allocations: 3.153 MB / 0.7491 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.5136, allocations: 1.276 MB / 0.7504 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.515, allocations: 0.5659 MB / 0.7509 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.5156, allocations: 482.6 kB / 0.7514 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/0.5173, allocations: 0.727 MB / 0.7521 GB, free: 384 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 2.415e-06/0.5174, allocations: 0 / 0.7521 GB, free: 384 kB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.005607/0.523, allocations: 1.844 MB / 0.7539 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.397e-05/0.5231, allocations: 196.9 kB / 0.7541 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.5237, allocations: 0.6057 MB / 0.7547 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.5238, allocations: 45.7 kB / 0.7547 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.5241, allocations: 416.5 kB / 0.7551 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.5243, allocations: 339 kB / 0.7554 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.5246, allocations: 174.5 kB / 0.7556 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5247, allocations: 390.8 kB / 0.756 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.5261, allocations: 461.6 kB / 0.7564 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.5276, allocations: 0.5735 MB / 0.757 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002752/0.5303, allocations: 0.9998 MB / 0.7579 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.5303, allocations: 4 kB / 0.758 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003552/0.5339, allocations: 1.239 MB / 0.7592 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5339, allocations: 10.19 kB / 0.7592 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5339, allocations: 4.125 kB / 0.7592 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.5345, allocations: 80.77 kB / 0.7593 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.5358, allocations: 251.6 kB / 0.7595 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.5376, allocations: 1.622 MB / 0.7611 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.5387, allocations: 147.2 kB / 0.7612 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.831e-05/0.5388, allocations: 40.03 kB / 0.7613 GB, free: 6.668 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: 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.0003759/0.5392, allocations: 267.2 kB / 0.7615 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.5393, allocations: 98.86 kB / 0.7616 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.5436, allocations: 1.577 MB / 0.7631 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.5436, allocations: 12 kB / 0.7632 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.5437, allocations: 0 / 0.7632 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5437, allocations: 3.984 kB / 0.7632 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005515/0.5492, allocations: 2.742 MB / 0.7658 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5492, allocations: 0 / 0.7658 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.5505, allocations: 251.6 kB / 0.7661 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.5509, allocations: 76.72 kB / 0.7662 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.166e-05/0.551, allocations: 35.92 kB / 0.7662 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.5527, allocations: 1.65 MB / 0.7678 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5527, allocations: 0 / 0.7678 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003623/0.5563, allocations: 1.441 MB / 0.7692 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.5567, allocations: 295.6 kB / 0.7695 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.5568, allocations: 20 kB / 0.7695 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.5579, allocations: 115.8 kB / 0.7696 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.5581, allocations: 72.89 kB / 0.7697 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/0.5582, allocations: 43.97 kB / 0.7697 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000474/0.5586, allocations: 447 kB / 0.7702 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5586, allocations: 0 / 0.7702 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008318/0.5595, allocations: 359 kB / 0.7705 GB, free: 12.94 MB / 0.6075 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.005003/0.5645, allocations: 2.501 MB / 0.7729 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004191/0.5687, allocations: 1.522 MB / 0.7744 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5687, allocations: 4 kB / 0.7744 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.5705, allocations: 0.7735 MB / 0.7752 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.5717, allocations: 289.8 kB / 0.7755 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.5871, allocations: 8.06 MB / 0.7833 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.5876, allocations: 1.056 MB / 0.7844 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001254/0.5889, allocations: 327.2 kB / 0.7847 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006441/0.5895, allocations: 427.2 kB / 0.7851 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of SimCode: time 2.7e-07/0.5895, allocations: 0 / 0.7851 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.598/1.187, allocations: 23.8 MB / 0.8083 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/12.04, allocations: 11.73 kB / 0.8083 GB, free: 6.582 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)