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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 217.8 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8253/0.8253, allocations: 134 MB / 447.2 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 62.69 kB / 0.6193 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1637, allocations: 85.9 MB / 0.7032 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006552/0.1703, allocations: 4.525 MB / 0.7076 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5421/0.7124, allocations: 154.2 MB / 0.8582 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.7136, allocations: 23.81 kB / 0.8582 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000634/0.7142, allocations: 182.3 kB / 0.8584 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.7157, allocations: 0.4959 MB / 0.8589 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.718, allocations: 0.9474 MB / 0.8598 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001485/0.7195, allocations: 1.402 MB / 0.8611 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008903/0.7204, allocations: 0.549 MB / 0.8617 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007871/0.7211, allocations: 0.5528 MB / 0.8622 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007826/0.7219, allocations: 0.5951 MB / 0.8628 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.7221, allocations: 132 kB / 0.8629 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009969/0.7231, allocations: 0.5453 MB / 0.8635 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003249/0.7234, allocations: 342.9 kB / 0.8638 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000545/0.724, allocations: 0.6062 MB / 0.8644 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.7261, allocations: 1.804 MB / 0.8661 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7261, allocations: 0 / 0.8661 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7261, allocations: 3.938 kB / 0.8661 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.7261, allocations: 0 / 0.8661 GB, free: 15.65 MB / 0.6387 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.002966/0.7291, allocations: 1.545 MB / 0.8677 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.7291, allocations: 12.03 kB / 0.8677 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.751e-05/0.7291, allocations: 30.22 kB / 0.8677 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.7293, allocations: 164.8 kB / 0.8679 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005853/0.7352, allocations: 0.8038 MB / 0.8686 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.7367, allocations: 0.753 MB / 0.8694 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-05/0.7367, allocations: 78.09 kB / 0.8694 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.7369, allocations: 104 kB / 0.8695 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/0.7401, allocations: 1.364 MB / 0.8709 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.7401, allocations: 0 / 0.8709 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.7403, allocations: 48 kB / 0.8709 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.7403, allocations: 24 kB / 0.8709 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/0.745, allocations: 1.834 MB / 0.8727 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006024/0.751, allocations: 3.05 MB / 0.8757 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.7542, allocations: 1.132 MB / 0.8768 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.7557, allocations: 0.5299 MB / 0.8773 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/0.7562, allocations: 85.11 kB / 0.8774 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/0.7581, allocations: 0.7347 MB / 0.8781 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=100): time 2.605e-06/0.7581, allocations: 4 kB / 0.8781 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of matching and sorting (n=100): time 0.005912/0.764, allocations: 1.781 MB / 0.8799 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.7641, allocations: 196.9 kB / 0.8801 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.765, allocations: 0.6254 MB / 0.8807 GB, free: 468 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.293e-05/0.765, allocations: 41.7 kB / 0.8807 GB, free: 420 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.7654, allocations: 441.2 kB / 0.8811 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003032/0.7657, allocations: 345 kB / 0.8815 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.7661, allocations: 178.5 kB / 0.8816 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.7663, allocations: 386.8 kB / 0.882 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.7677, allocations: 457.7 kB / 0.8824 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.7692, allocations: 0.5696 MB / 0.883 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.772, allocations: 1.008 MB / 0.884 GB, free: 13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.772, allocations: 0 / 0.884 GB, free: 13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003799/0.7758, allocations: 1.251 MB / 0.8852 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7759, allocations: 4 kB / 0.8852 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7759, allocations: 4 kB / 0.8852 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005963/0.7765, allocations: 88.83 kB / 0.8853 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.7778, allocations: 239.7 kB / 0.8855 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.7799, allocations: 1.538 MB / 0.887 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.781, allocations: 149.6 kB / 0.8872 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.98e-05/0.7811, allocations: 39.97 kB / 0.8872 GB, free: 9.566 MB / 0.6544 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.000541/0.7817, allocations: 269.6 kB / 0.8875 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/0.7819, allocations: 91.44 kB / 0.8876 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/0.7863, allocations: 1.584 MB / 0.8891 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.7863, allocations: 12 kB / 0.8891 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.7863, allocations: 0 / 0.8891 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.7863, allocations: 3.984 kB / 0.8891 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006047/0.7924, allocations: 2.721 MB / 0.8918 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7924, allocations: 0 / 0.8918 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.7936, allocations: 251.6 kB / 0.892 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/0.7941, allocations: 68.8 kB / 0.8921 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.04e-05/0.7942, allocations: 39.91 kB / 0.8921 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.7962, allocations: 1.559 MB / 0.8936 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7962, allocations: 0 / 0.8936 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/0.8002, allocations: 1.439 MB / 0.895 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.8007, allocations: 234.9 kB / 0.8953 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.8008, allocations: 24 kB / 0.8953 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.802, allocations: 111.8 kB / 0.8954 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.8021, allocations: 84.78 kB / 0.8955 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.8022, allocations: 39.97 kB / 0.8955 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007157/0.803, allocations: 467 kB / 0.896 GB, free: 400 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.803, allocations: 0 / 0.896 GB, free: 400 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001176/0.8041, allocations: 363 kB / 0.8963 GB, free: 36 kB / 0.6544 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.006137/0.8103, allocations: 2.503 MB / 0.8988 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003631/0.8139, allocations: 1.229 MB / 0.9 GB, free: 12.48 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8139, allocations: 0 / 0.9 GB, free: 12.48 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001941/0.8159, allocations: 0.7343 MB / 0.9007 GB, free: 11.74 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.8173, allocations: 297 kB / 0.901 GB, free: 11.47 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.8347, allocations: 7.91 MB / 0.9087 GB, free: 3.406 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.8354, allocations: 1.067 MB / 0.9097 GB, free: 2.309 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001218/0.8367, allocations: 323.3 kB / 0.91 GB, free: 1.988 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000752/0.8374, allocations: 435.2 kB / 0.9104 GB, free: 1.562 MB / 0.67 GB Notification: Performance of SimCode: time 1.352e-06/0.8374, allocations: 4 kB / 0.9104 GB, free: 1.559 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06522/0.9026, allocations: 25.16 MB / 0.935 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.68, allocations: 6.219 kB / 0.935 GB, free: 8.57 MB / 0.7012 GB " [Timeout remaining time 645] (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 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.50485131808091] Failed to read output from testmodel.py, exit status != 0: 14.956264259992167 14.980430956 14.24956279 Calling exit ...