Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_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.001501/0.001501, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 187.8 kB / 16.62 MB, free: 6.613 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.264/1.264, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002155/0.002155, allocations: 286.6 kB / 290.8 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8876/0.8876, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 92.27 kB / 0.5955 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1546, allocations: 86.98 MB / 0.6804 GB, free: 448 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005993/0.1606, allocations: 4.35 MB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4606/0.6213, allocations: 150.5 MB / 0.8317 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000774/0.6221, allocations: 15.25 kB / 0.8317 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005148/0.6226, allocations: 177.1 kB / 0.8319 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001377/0.624, allocations: 0.4984 MB / 0.8324 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.6256, allocations: 0.8181 MB / 0.8332 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001096/0.6268, allocations: 1.299 MB / 0.8344 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007378/0.6275, allocations: 0.6169 MB / 0.835 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004924/0.628, allocations: 466.6 kB / 0.8355 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.6285, allocations: 498.8 kB / 0.836 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.6286, allocations: 114.8 kB / 0.8361 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008166/0.6295, allocations: 483.5 kB / 0.8365 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.6297, allocations: 297.7 kB / 0.8368 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004014/0.6301, allocations: 0.5354 MB / 0.8373 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.6316, allocations: 1.601 MB / 0.8389 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6316, allocations: 0 / 0.8389 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6316, allocations: 0 / 0.8389 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.6316, allocations: 0 / 0.8389 GB, free: 15.93 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002294/0.6339, allocations: 1.418 MB / 0.8403 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.6339, allocations: 9.625 kB / 0.8403 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.6341, allocations: 135.6 kB / 0.8404 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008651/0.635, allocations: 188.2 kB / 0.8406 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.636, allocations: 0.7529 MB / 0.8413 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.6361, allocations: 71.58 kB / 0.8414 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6362, allocations: 78.09 kB / 0.8415 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.6377, allocations: 0.9077 MB / 0.8424 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.6377, allocations: 6.359 kB / 0.8424 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.6378, allocations: 35.56 kB / 0.8424 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.6378, allocations: 20.62 kB / 0.8424 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.6395, allocations: 1.102 MB / 0.8435 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.643, allocations: 2.468 MB / 0.8459 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.6443, allocations: 0.79 MB / 0.8467 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.6447, allocations: 305.8 kB / 0.847 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.6448, allocations: 34.64 kB / 0.847 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007746/0.6456, allocations: 499.8 kB / 0.8475 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/0.6456, allocations: 0 / 0.8475 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.002954/0.6486, allocations: 1.187 MB / 0.8486 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.6487, allocations: 189.3 kB / 0.8488 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.6494, allocations: 0.6337 MB / 0.8494 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.6495, allocations: 42.39 kB / 0.8495 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.6498, allocations: 396.5 kB / 0.8499 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.65, allocations: 260.2 kB / 0.8501 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.6502, allocations: 143 kB / 0.8502 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6504, allocations: 390.4 kB / 0.8506 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.6508, allocations: 245.1 kB / 0.8508 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.6514, allocations: 353 kB / 0.8512 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009435/0.6523, allocations: 0.58 MB / 0.8517 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6523, allocations: 2.844 kB / 0.8518 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001695/0.654, allocations: 0.8044 MB / 0.8525 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.654, allocations: 5.094 kB / 0.8525 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6541, allocations: 2.969 kB / 0.8525 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.6546, allocations: 82.27 kB / 0.8526 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.6552, allocations: 148.6 kB / 0.8528 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.6573, allocations: 1.632 MB / 0.8544 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006288/0.6579, allocations: 91.86 kB / 0.8544 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.658, allocations: 29.34 kB / 0.8545 GB, free: 6.027 MB / 0.5762 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 (87): * Single equations (assignments): 86 * 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.0003891/0.6584, allocations: 272.8 kB / 0.8547 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.6585, allocations: 77.16 kB / 0.8548 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.6607, allocations: 1.065 MB / 0.8558 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6607, allocations: 9.781 kB / 0.8559 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6607, allocations: 3.938 kB / 0.8559 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6607, allocations: 7.922 kB / 0.8559 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009287/0.6616, allocations: 0.891 MB / 0.8567 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.6617, allocations: 0 / 0.8567 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.6622, allocations: 150.3 kB / 0.8569 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004291/0.6626, allocations: 70.88 kB / 0.8569 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.6627, allocations: 26.95 kB / 0.857 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.6645, allocations: 1.653 MB / 0.8586 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6645, allocations: 3.938 kB / 0.8586 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.6663, allocations: 0.9217 MB / 0.8595 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.6666, allocations: 275.6 kB / 0.8598 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.6667, allocations: 23.44 kB / 0.8598 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.6673, allocations: 64.03 kB / 0.8598 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6674, allocations: 73.2 kB / 0.8599 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/0.6675, allocations: 35.02 kB / 0.8599 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005087/0.668, allocations: 460.9 kB / 0.8604 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.668, allocations: 4 kB / 0.8604 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007973/0.6688, allocations: 308.6 kB / 0.8607 GB, free: 1.613 MB / 0.5762 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 (91): * Single equations (assignments): 85 * 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.003228/0.6721, allocations: 1.965 MB / 0.8626 GB, free: 424 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.6736, allocations: 0.7938 MB / 0.8634 GB, free: 16 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6736, allocations: 6.875 kB / 0.8634 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008302/0.6744, allocations: 0.5189 MB / 0.8639 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.6755, allocations: 290.6 kB / 0.8642 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009758/0.6853, allocations: 6.21 MB / 0.8702 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005242/0.6858, allocations: 1.023 MB / 0.8712 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000773/0.6866, allocations: 267.5 kB / 0.8715 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.6871, allocations: 380 kB / 0.8718 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.6871, allocations: 0 / 0.8718 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04322/0.7303, allocations: 20.95 MB / 0.8923 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.79, allocations: 8.125 kB / 0.8923 GB, free: 7.441 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)