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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005624/0.005629, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001287/0.001287, allocations: 190 kB / 16.67 MB, free: 6.379 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002299/0.002299, allocations: 282.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9293/0.9293, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 94.5 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1552, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006068/0.1614, allocations: 4.642 MB / 0.7704 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4903/0.6517, allocations: 150.8 MB / 0.9176 GB, free: 7.316 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009714/0.6527, allocations: 16.69 kB / 0.9177 GB, free: 7.301 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008334/0.6536, allocations: 184.6 kB / 0.9178 GB, free: 7.121 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.6559, allocations: 0.5139 MB / 0.9183 GB, free: 6.625 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.6582, allocations: 0.9367 MB / 0.9193 GB, free: 5.719 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002073/0.6602, allocations: 1.499 MB / 0.9207 GB, free: 4.215 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.6616, allocations: 0.7859 MB / 0.9215 GB, free: 3.395 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009979/0.6626, allocations: 0.5878 MB / 0.9221 GB, free: 2.805 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008751/0.6635, allocations: 0.6232 MB / 0.9227 GB, free: 2.18 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003205/0.6638, allocations: 147.9 kB / 0.9228 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.6649, allocations: 0.523 MB / 0.9233 GB, free: 1.512 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004251/0.6653, allocations: 358.9 kB / 0.9237 GB, free: 1.16 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008246/0.6662, allocations: 0.649 MB / 0.9243 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002505/0.6687, allocations: 1.868 MB / 0.9261 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6687, allocations: 0 / 0.9261 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6687, allocations: 0 / 0.9261 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.99e-05/0.6688, allocations: 0 / 0.9261 GB, free: 14.64 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003744/0.6725, allocations: 1.668 MB / 0.9278 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6726, allocations: 8.031 kB / 0.9278 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000257/0.6728, allocations: 169.7 kB / 0.9279 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.6779, allocations: 0.76 MB / 0.9287 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.6793, allocations: 0.8359 MB / 0.9295 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.989e-05/0.6794, allocations: 82.2 kB / 0.9296 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.6797, allocations: 108 kB / 0.9297 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.683, allocations: 1.436 MB / 0.9311 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.683, allocations: 2.938 kB / 0.9311 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.6831, allocations: 48 kB / 0.9311 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.6832, allocations: 28 kB / 0.9311 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004507/0.6877, allocations: 1.885 MB / 0.933 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006569/0.6943, allocations: 3.234 MB / 0.9361 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003346/0.6977, allocations: 1.373 MB / 0.9375 GB, free: 2.738 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.6992, allocations: 0.6004 MB / 0.9381 GB, free: 2.141 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/0.6998, allocations: 478.6 kB / 0.9385 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/0.7017, allocations: 0.801 MB / 0.9393 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=109): time 3.396e-06/0.7017, allocations: 0 / 0.9393 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109): time 0.005947/0.7077, allocations: 1.977 MB / 0.9412 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.7078, allocations: 200.9 kB / 0.9414 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.7088, allocations: 0.645 MB / 0.9421 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.709, allocations: 45.7 kB / 0.9421 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.7094, allocations: 440.6 kB / 0.9425 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.7098, allocations: 358.8 kB / 0.9429 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.7101, allocations: 186.5 kB / 0.943 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7103, allocations: 394.7 kB / 0.9434 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.7117, allocations: 489.7 kB / 0.9439 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.7132, allocations: 0.6046 MB / 0.9445 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.716, allocations: 1.062 MB / 0.9455 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.716, allocations: 0 / 0.9455 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003867/0.7199, allocations: 1.325 MB / 0.9468 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.7199, allocations: 8 kB / 0.9468 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.7199, allocations: 0 / 0.9468 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006061/0.7205, allocations: 83.34 kB / 0.9469 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.7219, allocations: 259.6 kB / 0.9471 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/0.724, allocations: 1.632 MB / 0.9487 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.7254, allocations: 162.7 kB / 0.9489 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.7256, allocations: 39.97 kB / 0.9489 GB, free: 6.594 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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.0005985/0.7262, allocations: 293.5 kB / 0.9492 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.7265, allocations: 98.72 kB / 0.9493 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004452/0.7309, allocations: 1.666 MB / 0.9509 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.731, allocations: 12 kB / 0.9509 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.731, allocations: 8 kB / 0.9509 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.731, allocations: 7.969 kB / 0.951 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006109/0.7371, allocations: 2.852 MB / 0.9537 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.7372, allocations: 0 / 0.9537 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.7385, allocations: 251.6 kB / 0.954 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/0.7389, allocations: 76.78 kB / 0.9541 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.7391, allocations: 35.91 kB / 0.9541 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.741, allocations: 1.654 MB / 0.9557 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.912e-06/0.741, allocations: 11.97 kB / 0.9557 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/0.7451, allocations: 1.529 MB / 0.9572 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/0.7457, allocations: 327.3 kB / 0.9575 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.7459, allocations: 26.72 kB / 0.9575 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.7472, allocations: 121.9 kB / 0.9577 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.7474, allocations: 84.88 kB / 0.9577 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.7475, allocations: 47.95 kB / 0.9578 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006537/0.7482, allocations: 471 kB / 0.9582 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7482, allocations: 4 kB / 0.9582 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001055/0.7493, allocations: 379.1 kB / 0.9586 GB, free: 12.42 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.005765/0.755, allocations: 2.609 MB / 0.9612 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003577/0.7587, allocations: 1.355 MB / 0.9625 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7587, allocations: 4 kB / 0.9625 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.7606, allocations: 0.8163 MB / 0.9633 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.762, allocations: 307.5 kB / 0.9636 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.7796, allocations: 8.293 MB / 0.9717 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007556/0.7804, allocations: 1.088 MB / 0.9727 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00139/0.7818, allocations: 335.7 kB / 0.973 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007956/0.7827, allocations: 470.3 kB / 0.9735 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/0.7827, allocations: 4 kB / 0.9735 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05439/0.8371, allocations: 26.06 MB / 0.9989 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.34, allocations: 14.12 kB / 0.999 GB, free: 3.488 MB / 0.7481 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/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)