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.00585/0.00585, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001608/0.001608, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003166/0.003166, allocations: 284 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002893/0.002893, allocations: 96.08 kB / 0.6809 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4346, allocations: 86.98 MB / 0.7659 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007329/0.442, allocations: 4.735 MB / 0.7705 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1741/0.6161, allocations: 150.7 MB / 0.9177 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/0.617, allocations: 19.88 kB / 0.9177 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007424/0.6178, allocations: 194.1 kB / 0.9179 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.6197, allocations: 0.524 MB / 0.9184 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.6219, allocations: 0.8507 MB / 0.9192 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001892/0.6238, allocations: 1.452 MB / 0.9207 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.6253, allocations: 0.9235 MB / 0.9216 GB, free: 3.816 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009494/0.6262, allocations: 0.5877 MB / 0.9221 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009634/0.6272, allocations: 0.6261 MB / 0.9227 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003476/0.6276, allocations: 155.9 kB / 0.9229 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.6288, allocations: 0.5074 MB / 0.9234 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004803/0.6293, allocations: 382.8 kB / 0.9237 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000947/0.6303, allocations: 0.6955 MB / 0.9244 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.6333, allocations: 1.982 MB / 0.9264 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.6333, allocations: 4 kB / 0.9264 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6333, allocations: 0 / 0.9264 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.442e-05/0.6334, allocations: 3.984 kB / 0.9264 GB, free: 14.87 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.00378/0.6372, allocations: 1.73 MB / 0.9281 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6373, allocations: 8.031 kB / 0.9281 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002679/0.6375, allocations: 181.8 kB / 0.9282 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.6386, allocations: 231.8 kB / 0.9285 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.6404, allocations: 0.876 MB / 0.9293 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.6405, allocations: 90.41 kB / 0.9294 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.6407, allocations: 120 kB / 0.9295 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/0.6431, allocations: 1.198 MB / 0.9307 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.6431, allocations: 0 / 0.9307 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.6432, allocations: 52 kB / 0.9307 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.6433, allocations: 32 kB / 0.9308 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.6456, allocations: 1.285 MB / 0.932 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005471/0.6511, allocations: 3.122 MB / 0.9351 GB, free: 5.695 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.6528, allocations: 0.8682 MB / 0.9359 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/0.6534, allocations: 322.7 kB / 0.9362 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.6535, allocations: 36.59 kB / 0.9363 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009576/0.6544, allocations: 0.5164 MB / 0.9368 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=87): time 2.926e-06/0.6544, allocations: 0 / 0.9368 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of matching and sorting (n=87): time 0.003934/0.6584, allocations: 1.279 MB / 0.938 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.6586, allocations: 192.9 kB / 0.9382 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.6601, allocations: 0.7353 MB / 0.9389 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.6602, allocations: 41.7 kB / 0.939 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/0.6608, allocations: 0.5282 MB / 0.9395 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.6611, allocations: 301.4 kB / 0.9398 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002653/0.6614, allocations: 162.6 kB / 0.9399 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6615, allocations: 334 kB / 0.9402 GB, free: 288 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.6621, allocations: 261.9 kB / 0.9405 GB, free: 28 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000689/0.6628, allocations: 390.6 kB / 0.9409 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.664, allocations: 0.632 MB / 0.9415 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.664, allocations: 3.938 kB / 0.9415 GB, free: 14.97 MB / 0.7169 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00211/0.6662, allocations: 0.8725 MB / 0.9423 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.6662, allocations: 7.938 kB / 0.9423 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.6662, allocations: 4 kB / 0.9423 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006231/0.6668, allocations: 84.86 kB / 0.9424 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/0.6676, allocations: 167.7 kB / 0.9426 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.6698, allocations: 1.623 MB / 0.9442 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007338/0.6706, allocations: 95.44 kB / 0.9443 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/0.6706, allocations: 40.16 kB / 0.9443 GB, free: 11.92 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.0005188/0.6712, allocations: 300.6 kB / 0.9446 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.6714, allocations: 99.34 kB / 0.9447 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.6741, allocations: 1.126 MB / 0.9458 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.6741, allocations: 12 kB / 0.9458 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6741, allocations: 0 / 0.9458 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.6741, allocations: 4.094 kB / 0.9458 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.6756, allocations: 1.056 MB / 0.9468 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.6756, allocations: 4 kB / 0.9468 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/0.6762, allocations: 155.7 kB / 0.947 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.6767, allocations: 76.78 kB / 0.947 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.985e-05/0.6768, allocations: 31.91 kB / 0.9471 GB, free: 9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.6789, allocations: 1.654 MB / 0.9487 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6789, allocations: 0 / 0.9487 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.6811, allocations: 0.9907 MB / 0.9497 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004446/0.6815, allocations: 296.1 kB / 0.9499 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.6817, allocations: 20 kB / 0.95 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/0.6823, allocations: 70.2 kB / 0.95 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.6825, allocations: 72.91 kB / 0.9501 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.094e-05/0.6826, allocations: 39.97 kB / 0.9501 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007485/0.6833, allocations: 0.5146 MB / 0.9506 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6834, allocations: 0 / 0.9506 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001046/0.6844, allocations: 362.9 kB / 0.951 GB, free: 4.816 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.004264/0.6887, allocations: 2.047 MB / 0.953 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001869/0.6906, allocations: 0.8548 MB / 0.9538 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6906, allocations: 0 / 0.9538 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.6916, allocations: 0.5353 MB / 0.9543 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.693, allocations: 315.1 kB / 0.9546 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3323/1.025, allocations: 7.159 MB / 0.9616 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/1.026, allocations: 1.112 MB / 0.9627 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000844/1.027, allocations: 276.4 kB / 0.963 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005324/1.027, allocations: 478.9 kB / 0.9634 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/1.027, allocations: 3.969 kB / 0.9634 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5491/1.576, allocations: 23.36 MB / 0.9863 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/16.11, allocations: 8.406 kB / 0.9863 GB, free: 166.4 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)