Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8658/0.8658, allocations: 143.4 MB / 158.3 MB, free: 5.742 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 170.8 kB / 191.5 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.635/1.635, allocations: 223.2 MB / 447.7 MB, free: 4.785 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 92.25 kB / 0.5187 GB, free: 1.141 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00186/0.001859, allocations: 279.2 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.0004965, allocations: 18.8 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1925, allocations: 82.8 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.865/4.058, allocations: 1.693 GB / 2.467 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/4.058, allocations: 101.5 kB / 2.467 GB, free: 106.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1423/4.2, allocations: 70.06 MB / 2.536 GB, free: 36.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.434e-06/4.2, allocations: 0 / 2.536 GB, free: 36.37 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.612e-05/4.2, allocations: 28 kB / 2.536 GB, free: 36.34 MB / 0.7136 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.002388/4.203, allocations: 1.375 MB / 2.537 GB, free: 34.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/4.203, allocations: 8.031 kB / 2.537 GB, free: 34.9 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/4.203, allocations: 168.5 kB / 2.537 GB, free: 34.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003989/4.207, allocations: 0.6968 MB / 2.538 GB, free: 34.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/4.208, allocations: 0.6775 MB / 2.538 GB, free: 33.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/4.208, allocations: 82.09 kB / 2.539 GB, free: 33.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/4.208, allocations: 100 kB / 2.539 GB, free: 33.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/4.211, allocations: 1.375 MB / 2.54 GB, free: 31.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/4.211, allocations: 0 / 2.54 GB, free: 31.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/4.211, allocations: 44 kB / 2.54 GB, free: 31.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/4.211, allocations: 31.95 kB / 2.54 GB, free: 31.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003984/4.215, allocations: 1.889 MB / 2.542 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005328/4.221, allocations: 3.143 MB / 2.545 GB, free: 26.49 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/4.223, allocations: 1.289 MB / 2.546 GB, free: 25.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/4.224, allocations: 490.6 kB / 2.547 GB, free: 24.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001546/4.226, allocations: 0.7309 MB / 2.547 GB, free: 23.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=100): time 3.046e-06/4.226, allocations: 0 / 2.547 GB, free: 23.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=100): time 0.005258/4.231, allocations: 1.872 MB / 2.549 GB, free: 21.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/4.231, allocations: 248.3 kB / 2.549 GB, free: 21.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007304/4.232, allocations: 0.601 MB / 2.55 GB, free: 21.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.459e-05/4.232, allocations: 45.7 kB / 2.55 GB, free: 21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/4.232, allocations: 416.4 kB / 2.55 GB, free: 20.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/4.232, allocations: 335.1 kB / 2.551 GB, free: 20.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/4.232, allocations: 20 kB / 2.551 GB, free: 20.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001011/4.232, allocations: 382.8 kB / 2.551 GB, free: 19.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/4.234, allocations: 469.7 kB / 2.552 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/4.235, allocations: 0.5743 MB / 2.552 GB, free: 18.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/4.236, allocations: 0.491 MB / 2.553 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/4.236, allocations: 0 / 2.553 GB, free: 18.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003309/4.239, allocations: 1.247 MB / 2.554 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/4.239, allocations: 11.95 kB / 2.554 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/4.239, allocations: 0 / 2.554 GB, free: 17.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/4.24, allocations: 84.86 kB / 2.554 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/4.241, allocations: 243.7 kB / 2.554 GB, free: 16.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/4.243, allocations: 1.537 MB / 2.556 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/4.244, allocations: 159.1 kB / 2.556 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-05/4.244, allocations: 39.97 kB / 2.556 GB, free: 14.83 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (103): * Single equations (assignments): 102 * 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.0005477/4.245, allocations: 265.7 kB / 2.556 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/4.245, allocations: 86.92 kB / 2.556 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/4.249, allocations: 1.605 MB / 2.558 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/4.249, allocations: 8 kB / 2.558 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/4.249, allocations: 3.984 kB / 2.558 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/4.249, allocations: 7.984 kB / 2.558 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004896/4.254, allocations: 2.747 MB / 2.561 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/4.254, allocations: 0 / 2.561 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/4.255, allocations: 255.6 kB / 2.561 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005021/4.256, allocations: 80.78 kB / 2.561 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/4.256, allocations: 31.97 kB / 2.561 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/4.257, allocations: 1.579 MB / 2.562 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/4.257, allocations: 0 / 2.562 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/4.261, allocations: 1.445 MB / 2.564 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/4.261, allocations: 319.5 kB / 2.564 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/4.261, allocations: 24 kB / 2.564 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/4.262, allocations: 127.9 kB / 2.564 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/4.263, allocations: 76.84 kB / 2.564 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/4.263, allocations: 43.97 kB / 2.564 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005363/4.263, allocations: 499 kB / 2.565 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/4.263, allocations: 0 / 2.565 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001269/4.264, allocations: 431 kB / 2.565 GB, free: 4.973 MB / 0.7136 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.005316/4.27, allocations: 2.993 MB / 2.568 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003/4.273, allocations: 1.276 MB / 2.569 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/4.273, allocations: 8 kB / 2.569 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/4.274, allocations: 0.7774 MB / 2.57 GB, free: 60 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3234/4.598, allocations: 241.1 kB / 2.57 GB, free: 229.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/4.611, allocations: 6.632 MB / 2.577 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/4.612, allocations: 1.081 MB / 2.578 GB, free: 227.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001678/4.614, allocations: 328 kB / 2.578 GB, free: 227.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006934/4.614, allocations: 422 kB / 2.579 GB, free: 227.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/4.614, allocations: 0 / 2.579 GB, free: 227.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07435/4.689, allocations: 32.79 MB / 2.611 GB, free: 225.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/4.689, allocations: 321.2 kB / 2.611 GB, free: 225.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/7.88, allocations: 0 / 2.611 GB, free: 225.1 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)