Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.004941/0.004941, allocations: 107.5 kB / 15.74 MB, free: 5.582 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.001149/0.001149, allocations: 197.3 kB / 16.67 MB, free: 5.508 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002061, allocations: 283.4 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9373/0.9373, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 95.84 kB / 0.6809 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4243, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006588/0.4309, allocations: 4.741 MB / 0.7705 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1507/0.5817, allocations: 150.7 MB / 0.9177 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008146/0.5825, allocations: 23.88 kB / 0.9177 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.5832, allocations: 194.1 kB / 0.9179 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.5851, allocations: 0.5255 MB / 0.9184 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.5872, allocations: 0.8611 MB / 0.9192 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.5889, allocations: 1.456 MB / 0.9207 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.5903, allocations: 0.9312 MB / 0.9216 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008523/0.5911, allocations: 0.5799 MB / 0.9221 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008295/0.592, allocations: 0.6299 MB / 0.9227 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000315/0.5923, allocations: 156 kB / 0.9229 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.5934, allocations: 0.5074 MB / 0.9234 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004275/0.5938, allocations: 382.8 kB / 0.9238 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000845/0.5947, allocations: 0.6917 MB / 0.9244 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002502/0.5972, allocations: 1.97 MB / 0.9264 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.5972, allocations: 0 / 0.9264 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5972, allocations: 4 kB / 0.9264 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.304e-05/0.5973, allocations: 4 kB / 0.9264 GB, free: 14.84 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003482/0.6008, allocations: 1.688 MB / 0.928 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6009, allocations: 12.03 kB / 0.928 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002756/0.6011, allocations: 177.8 kB / 0.9282 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.6022, allocations: 223 kB / 0.9284 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.6037, allocations: 0.8675 MB / 0.9292 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.6038, allocations: 90.39 kB / 0.9293 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.604, allocations: 112 kB / 0.9294 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002236/0.6062, allocations: 1.206 MB / 0.9306 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.6063, allocations: 4 kB / 0.9306 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.6064, allocations: 48 kB / 0.9307 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.6064, allocations: 32 kB / 0.9307 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.6086, allocations: 1.289 MB / 0.932 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005563/0.6142, allocations: 3.117 MB / 0.935 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.616, allocations: 0.8594 MB / 0.9358 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/0.6166, allocations: 318.7 kB / 0.9361 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.6167, allocations: 36.59 kB / 0.9362 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009239/0.6177, allocations: 0.5159 MB / 0.9367 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=87): time 3.005e-06/0.6177, allocations: 0 / 0.9367 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.003406/0.6211, allocations: 1.274 MB / 0.9379 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.6212, allocations: 196.9 kB / 0.9381 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6224, allocations: 0.7353 MB / 0.9388 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.6225, allocations: 41.7 kB / 0.9389 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.6229, allocations: 0.5154 MB / 0.9394 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.6232, allocations: 287.9 kB / 0.9397 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.6234, allocations: 154.5 kB / 0.9398 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6236, allocations: 334 kB / 0.9401 GB, free: 364 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.6241, allocations: 277.8 kB / 0.9404 GB, free: 88 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.6248, allocations: 382.5 kB / 0.9407 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.6259, allocations: 0.6281 MB / 0.9414 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6259, allocations: 4 kB / 0.9414 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00206/0.628, allocations: 0.872 MB / 0.9422 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.628, allocations: 7.938 kB / 0.9422 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.628, allocations: 0 / 0.9422 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006059/0.6287, allocations: 80.88 kB / 0.9423 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/0.6294, allocations: 167.8 kB / 0.9425 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.6315, allocations: 1.626 MB / 0.9441 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008021/0.6323, allocations: 101.8 kB / 0.9441 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.6324, allocations: 35.91 kB / 0.9442 GB, free: 12 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (96): * Single equations (assignments): 95 * 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.0005552/0.633, allocations: 292 kB / 0.9445 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/0.6333, allocations: 102.8 kB / 0.9446 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.6357, allocations: 1.126 MB / 0.9457 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6358, allocations: 8 kB / 0.9457 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6358, allocations: 0 / 0.9457 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.6358, allocations: 3.984 kB / 0.9457 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.6372, allocations: 1.063 MB / 0.9467 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.6372, allocations: 0 / 0.9467 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/0.6379, allocations: 155.8 kB / 0.9469 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.6383, allocations: 68.8 kB / 0.9469 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.153e-05/0.6384, allocations: 39.91 kB / 0.947 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.6403, allocations: 1.646 MB / 0.9486 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6403, allocations: 0 / 0.9486 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/0.6424, allocations: 0.9901 MB / 0.9495 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.6429, allocations: 291.6 kB / 0.9498 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.6431, allocations: 16 kB / 0.9498 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.6437, allocations: 75.86 kB / 0.9499 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.6439, allocations: 72.89 kB / 0.95 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/0.644, allocations: 35.98 kB / 0.95 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000715/0.6447, allocations: 0.5146 MB / 0.9505 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6447, allocations: 0 / 0.9505 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009376/0.6457, allocations: 358.8 kB / 0.9508 GB, free: 4.91 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.0035/0.6492, allocations: 2.034 MB / 0.9528 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.651, allocations: 0.8509 MB / 0.9537 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.651, allocations: 0 / 0.9537 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.652, allocations: 0.5393 MB / 0.9542 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.6535, allocations: 320.9 kB / 0.9545 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3514/1.005, allocations: 7.116 MB / 0.9614 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007084/1.006, allocations: 1.11 MB / 0.9625 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009512/1.007, allocations: 274 kB / 0.9628 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005633/1.007, allocations: 486.6 kB / 0.9633 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.52e-07/1.007, allocations: 0.5625 kB / 0.9633 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/1.055, allocations: 23.81 MB / 0.9865 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.59, allocations: 19.8 kB / 0.9865 GB, free: 166.2 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)