Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.007272/0.007272, allocations: 98.98 kB / 15.73 MB, free: 6.031 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.001918/0.001918, allocations: 193.8 kB / 16.67 MB, free: 5.953 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.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004132/0.004132, allocations: 293.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002631/0.002632, allocations: 99.84 kB / 0.6809 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3841, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008333/0.3925, allocations: 6.478 MB / 0.7722 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1687/0.5612, allocations: 151.6 MB / 0.9203 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.5622, allocations: 19.94 kB / 0.9203 GB, free: 5.109 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007681/0.563, allocations: 265.2 kB / 0.9206 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.5654, allocations: 0.6841 MB / 0.9212 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.5683, allocations: 1.367 MB / 0.9226 GB, free: 2.801 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003361/0.5717, allocations: 2.664 MB / 0.9252 GB, free: 132 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002175/0.5739, allocations: 1.596 MB / 0.9267 GB, free: 14.47 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.5756, allocations: 1.141 MB / 0.9278 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.5773, allocations: 1.296 MB / 0.9291 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.5778, allocations: 324 kB / 0.9294 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.5791, allocations: 0.6988 MB / 0.9301 GB, free: 11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006597/0.5798, allocations: 0.6971 MB / 0.9308 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.581, allocations: 1.275 MB / 0.932 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004304/0.5853, allocations: 3.574 MB / 0.9355 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5854, allocations: 0 / 0.9355 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5854, allocations: 0 / 0.9355 GB, free: 5.441 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.179e-05/0.5854, allocations: 0 / 0.9355 GB, free: 5.441 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006472/0.5919, allocations: 2.854 MB / 0.9383 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.592, allocations: 8.031 kB / 0.9383 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004065/0.5924, allocations: 316.9 kB / 0.9386 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/0.6078, allocations: 2.121 MB / 0.9407 GB, free: 56 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.6107, allocations: 1.302 MB / 0.9419 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.6109, allocations: 172.5 kB / 0.9421 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004898/0.6114, allocations: 220 kB / 0.9423 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00917/0.6205, allocations: 3.278 MB / 0.9455 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.6206, allocations: 7.938 kB / 0.9455 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.6209, allocations: 92 kB / 0.9456 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/0.621, allocations: 52 kB / 0.9457 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.6339, allocations: 4.205 MB / 0.9498 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.352/0.9859, allocations: 7.235 MB / 0.9568 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.9965, allocations: 2.895 MB / 0.9597 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004385/1.001, allocations: 1.484 MB / 0.9611 GB, free: 183 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007436/1.002, allocations: 0.5097 MB / 0.9616 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005092/1.007, allocations: 1.838 MB / 0.9634 GB, free: 182 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=213): time 5.11e-06/1.007, allocations: 0 / 0.9634 GB, free: 182 MB / 0.7169 GB Notification: Performance of matching and sorting (n=213): time 0.01322/1.02, allocations: 4.474 MB / 0.9678 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/1.02, allocations: 205 kB / 0.968 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/1.021, allocations: 0.9463 MB / 0.9689 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000187/1.021, allocations: 65.48 kB / 0.969 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/1.022, allocations: 0.7676 MB / 0.9697 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/1.022, allocations: 0.7101 MB / 0.9704 GB, free: 179 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006081/1.023, allocations: 378.2 kB / 0.9708 GB, free: 178.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.341e-05/1.023, allocations: 301.1 kB / 0.971 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00355/1.027, allocations: 1.237 MB / 0.9723 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0036/1.03, allocations: 1.43 MB / 0.9737 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/1.037, allocations: 2.585 MB / 0.9762 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.037, allocations: 2.516 kB / 0.9762 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.008361/1.046, allocations: 3.079 MB / 0.9792 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.046, allocations: 4 kB / 0.9792 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.046, allocations: 7.844 kB / 0.9792 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/1.046, allocations: 88.83 kB / 0.9793 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/1.05, allocations: 0.5928 MB / 0.9799 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/1.052, allocations: 1.636 MB / 0.9815 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003/1.055, allocations: 369.3 kB / 0.9818 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/1.055, allocations: 91.89 kB / 0.9819 GB, free: 169.7 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.0009823/1.056, allocations: 427.7 kB / 0.9823 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/1.056, allocations: 170.3 kB / 0.9825 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009377/1.066, allocations: 3.725 MB / 0.9861 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/1.066, allocations: 20 kB / 0.9861 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.066, allocations: 0 / 0.9861 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/1.066, allocations: 15.95 kB / 0.9861 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/1.068, allocations: 2.457 MB / 0.9885 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.068, allocations: 0 / 0.9885 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003247/1.072, allocations: 0.5577 MB / 0.9891 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/1.072, allocations: 84.78 kB / 0.9892 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/1.072, allocations: 71.91 kB / 0.9892 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/1.074, allocations: 1.665 MB / 0.9909 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.074, allocations: 0 / 0.9909 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008353/1.082, allocations: 3.223 MB / 0.994 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008096/1.083, allocations: 0.5574 MB / 0.9946 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/1.083, allocations: 47.94 kB / 0.9946 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002547/1.086, allocations: 271.7 kB / 0.9949 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/1.086, allocations: 145.8 kB / 0.995 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/1.086, allocations: 99.89 kB / 0.9951 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007348/1.087, allocations: 0.6958 MB / 0.9958 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.9e-07/1.087, allocations: 0 / 0.9958 GB, free: 155.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001469/1.089, allocations: 0.6428 MB / 0.9964 GB, free: 154.8 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.01007/1.099, allocations: 4.344 MB / 1.001 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007867/1.107, allocations: 3.123 MB / 1.004 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.107, allocations: 8.25 kB / 1.004 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003966/1.111, allocations: 1.755 MB / 1.005 GB, free: 145.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/1.112, allocations: 369.1 kB / 1.006 GB, free: 145.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/1.145, allocations: 16.07 MB / 1.021 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/1.145, allocations: 1.422 MB / 1.023 GB, free: 127.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002431/1.148, allocations: 0.5753 MB / 1.023 GB, free: 127.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.149, allocations: 0.8818 MB / 1.024 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.533e-06/1.149, allocations: 0 / 1.024 GB, free: 126.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6502/1.799, allocations: 42.12 MB / 1.065 GB, free: 84.45 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.03/23.83, allocations: 6.047 kB / 1.065 GB, free: 84.45 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)