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.7364/0.7364, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009487/0.0009487, allocations: 188.2 kB / 187.3 MB, free: 11.88 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.31/1.31, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009433/0.0009434, allocations: 102.1 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001689/0.001689, allocations: 279.7 kB / 0.594 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.247e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4837, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.733/4.217, allocations: 1.693 GB / 2.458 GB, free: 85.47 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/4.217, allocations: 95.44 kB / 2.458 GB, free: 85.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1402/4.357, allocations: 69.75 MB / 2.526 GB, free: 15.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.789e-06/4.357, allocations: 7.984 kB / 2.526 GB, free: 15.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001391/4.357, allocations: 27.94 kB / 2.526 GB, free: 15.36 MB / 0.698 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.003286/4.361, allocations: 1.259 MB / 2.527 GB, free: 14.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/4.361, allocations: 8.031 kB / 2.527 GB, free: 14.04 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002686/4.361, allocations: 160.6 kB / 2.527 GB, free: 13.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004082/4.365, allocations: 0.689 MB / 2.528 GB, free: 13.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/4.366, allocations: 0.6775 MB / 2.529 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/4.366, allocations: 74.09 kB / 2.529 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/4.367, allocations: 104 kB / 2.529 GB, free: 12.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/4.368, allocations: 1.169 MB / 2.53 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/4.368, allocations: 0 / 2.53 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/4.368, allocations: 44 kB / 2.53 GB, free: 11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/4.368, allocations: 27.95 kB / 2.53 GB, free: 10.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/4.37, allocations: 1.48 MB / 2.531 GB, free: 9.484 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004878/4.375, allocations: 3.137 MB / 2.534 GB, free: 6.266 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/4.376, allocations: 1.055 MB / 2.535 GB, free: 5.188 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005393/4.377, allocations: 455.1 kB / 2.536 GB, free: 4.742 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005573/4.378, allocations: 474.4 kB / 2.536 GB, free: 4.188 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007999/4.378, allocations: 0.6059 MB / 2.537 GB, free: 3.559 MB / 0.698 GB Notification: Performance of pre-optimization done (n=100): time 3.196e-06/4.378, allocations: 0 / 2.537 GB, free: 3.559 MB / 0.698 GB Notification: Performance of matching and sorting (n=100): time 0.001893/4.38, allocations: 0.9893 MB / 2.538 GB, free: 2.559 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/4.38, allocations: 244.3 kB / 2.538 GB, free: 2.266 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/4.381, allocations: 0.5973 MB / 2.539 GB, free: 1.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/4.381, allocations: 45.7 kB / 2.539 GB, free: 1.609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/4.381, allocations: 420.4 kB / 2.539 GB, free: 1.191 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/4.382, allocations: 335.1 kB / 2.539 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/4.382, allocations: 16 kB / 2.539 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/4.382, allocations: 394.7 kB / 2.54 GB, free: 460 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/4.382, allocations: 326 kB / 2.54 GB, free: 136 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4002/4.782, allocations: 459.4 kB / 2.541 GB, free: 229.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/4.783, allocations: 365.9 kB / 2.541 GB, free: 229.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/4.783, allocations: 0.6562 kB / 2.541 GB, free: 229.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002288/4.785, allocations: 0.9928 MB / 2.542 GB, free: 229.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/4.785, allocations: 5.875 kB / 2.542 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/4.786, allocations: 1.656 kB / 2.542 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005963/4.786, allocations: 84.92 kB / 2.542 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/4.788, allocations: 243.8 kB / 2.542 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/4.789, allocations: 1.518 MB / 2.544 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/4.79, allocations: 153.6 kB / 2.544 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.825e-05/4.79, allocations: 40.02 kB / 2.544 GB, free: 228.1 MB / 0.698 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 () * 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.000206/4.791, allocations: 154.2 kB / 2.544 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/4.791, allocations: 90.89 kB / 2.544 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002981/4.794, allocations: 1.336 MB / 2.545 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/4.794, allocations: 14.44 kB / 2.545 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/4.794, allocations: 3.812 kB / 2.545 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/4.794, allocations: 6.844 kB / 2.545 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/4.798, allocations: 2.49 MB / 2.548 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/4.798, allocations: 0.7969 kB / 2.548 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/4.8, allocations: 253.8 kB / 2.548 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000471/4.8, allocations: 83.09 kB / 2.548 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-05/4.8, allocations: 32.09 kB / 2.548 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/4.802, allocations: 1.541 MB / 2.55 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/4.802, allocations: 1 kB / 2.55 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/4.804, allocations: 1.182 MB / 2.551 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/4.804, allocations: 327.4 kB / 2.551 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/4.805, allocations: 24.05 kB / 2.551 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/4.806, allocations: 130.2 kB / 2.551 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/4.806, allocations: 76.53 kB / 2.551 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/4.806, allocations: 45.92 kB / 2.552 GB, free: 225.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008657/4.807, allocations: 491.1 kB / 2.552 GB, free: 225.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/4.807, allocations: 0 / 2.552 GB, free: 225.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001552/4.808, allocations: 444.1 kB / 2.552 GB, free: 225.7 MB / 0.698 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) * 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.004264/4.813, allocations: 2.679 MB / 2.555 GB, free: 224.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00162/4.814, allocations: 1.019 MB / 2.556 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/4.814, allocations: 0 / 2.556 GB, free: 224.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009096/4.815, allocations: 0.648 MB / 2.557 GB, free: 224.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009901/4.816, allocations: 243.2 kB / 2.557 GB, free: 224.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003777/4.82, allocations: 1.875 MB / 2.559 GB, free: 224.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/4.821, allocations: 1.079 MB / 2.56 GB, free: 223.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001292/4.822, allocations: 343.4 kB / 2.56 GB, free: 223.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006064/4.822, allocations: 424.2 kB / 2.56 GB, free: 223.5 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/4.822, allocations: 2.688 kB / 2.56 GB, free: 223.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0503/4.873, allocations: 34.57 MB / 2.594 GB, free: 218.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/4.873, allocations: 276 kB / 2.595 GB, free: 218.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/7.817, allocations: 6.516 kB / 2.595 GB, free: 218.1 MB / 0.698 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)