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.000907/0.000907, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00503/0.00503, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 274.1 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8565/0.8565, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 13.72 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1192, allocations: 88.55 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003848/0.1231, allocations: 3.937 MB / 0.6891 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3579/0.481, allocations: 146.6 MB / 0.8323 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.4816, allocations: 14.94 kB / 0.8323 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.482, allocations: 140.3 kB / 0.8324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.4833, allocations: 433.6 kB / 0.8328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.4846, allocations: 0.7161 MB / 0.8335 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.4855, allocations: 1.198 MB / 0.8347 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006576/0.4862, allocations: 0.5886 MB / 0.8353 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.4865, allocations: 339.4 kB / 0.8356 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.4869, allocations: 372.7 kB / 0.836 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.4869, allocations: 25.66 kB / 0.836 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004832/0.4874, allocations: 368.4 kB / 0.8363 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.4876, allocations: 181.9 kB / 0.8365 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.4878, allocations: 459.7 kB / 0.8369 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000972/0.4888, allocations: 1.456 MB / 0.8384 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.4888, allocations: 4 kB / 0.8384 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4888, allocations: 0 / 0.8384 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.4889, allocations: 0 / 0.8384 GB, free: 8.945 MB / 0.5606 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.001708/0.4906, allocations: 1.211 MB / 0.8396 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.4906, allocations: 10.38 kB / 0.8396 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.4907, allocations: 134 kB / 0.8397 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007475/0.4915, allocations: 195.2 kB / 0.8399 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007753/0.4923, allocations: 0.739 MB / 0.8406 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.4923, allocations: 65.03 kB / 0.8407 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.4924, allocations: 75.59 kB / 0.8407 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.4937, allocations: 0.9292 MB / 0.8416 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.4937, allocations: 0 / 0.8416 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.4938, allocations: 33.59 kB / 0.8417 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.4938, allocations: 18.91 kB / 0.8417 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.4952, allocations: 1.117 MB / 0.8428 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.4983, allocations: 2.526 MB / 0.8452 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.4995, allocations: 0.8031 MB / 0.846 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.5, allocations: 302.2 kB / 0.8463 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.913e-05/0.5, allocations: 30.16 kB / 0.8463 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007021/0.5008, allocations: 499.3 kB / 0.8468 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 1.803e-06/0.5008, allocations: 0 / 0.8468 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.002629/0.5034, allocations: 1.205 MB / 0.848 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.5035, allocations: 195.5 kB / 0.8482 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.5041, allocations: 0.6197 MB / 0.8488 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.5041, allocations: 43.45 kB / 0.8488 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.5044, allocations: 401.7 kB / 0.8492 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.5045, allocations: 262.7 kB / 0.8495 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.426e-05/0.5046, allocations: 59.41 kB / 0.8495 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5047, allocations: 391.7 kB / 0.8499 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.5052, allocations: 254.3 kB / 0.8501 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004941/0.5057, allocations: 360.8 kB / 0.8505 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008771/0.5065, allocations: 0.5863 MB / 0.8511 GB, free: 240 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5066, allocations: 7 kB / 0.8511 GB, free: 236 kB / 0.5606 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001531/0.5081, allocations: 0.7984 MB / 0.8518 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.5081, allocations: 12.55 kB / 0.8519 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5081, allocations: 0 / 0.8519 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.5086, allocations: 81.47 kB / 0.8519 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005316/0.5092, allocations: 159.4 kB / 0.8521 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.5108, allocations: 1.512 MB / 0.8536 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005519/0.5114, allocations: 109.3 kB / 0.8537 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.013e-05/0.5114, allocations: 31.58 kB / 0.8537 GB, free: 14.17 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.0002901/0.5117, allocations: 262.3 kB / 0.8539 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.5118, allocations: 89.67 kB / 0.854 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.5139, allocations: 1.063 MB / 0.8551 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5139, allocations: 7.938 kB / 0.8551 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.5139, allocations: 4 kB / 0.8551 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.5139, allocations: 11.16 kB / 0.8551 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007685/0.5147, allocations: 0.8909 MB / 0.856 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5147, allocations: 2.625 kB / 0.856 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.5152, allocations: 149.7 kB / 0.8561 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.5156, allocations: 83.31 kB / 0.8562 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.5157, allocations: 27.88 kB / 0.8562 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.5172, allocations: 1.558 MB / 0.8577 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5172, allocations: 3.938 kB / 0.8577 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.5188, allocations: 0.9293 MB / 0.8586 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.5191, allocations: 281 kB / 0.8589 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.5192, allocations: 21.8 kB / 0.8589 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.5198, allocations: 78.41 kB / 0.859 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.5199, allocations: 77.67 kB / 0.8591 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.5199, allocations: 30.23 kB / 0.8591 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004238/0.5204, allocations: 462.2 kB / 0.8596 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5204, allocations: 3.938 kB / 0.8596 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005601/0.5209, allocations: 308.3 kB / 0.8598 GB, free: 9.816 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.002823/0.5238, allocations: 1.973 MB / 0.8618 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001219/0.525, allocations: 0.8053 MB / 0.8626 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.525, allocations: 0 / 0.8626 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.5258, allocations: 0.518 MB / 0.8631 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009602/0.5267, allocations: 262 kB / 0.8633 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009933/0.5367, allocations: 6.916 MB / 0.8701 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.5371, allocations: 1.015 MB / 0.8711 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006834/0.5378, allocations: 258.5 kB / 0.8713 GB, free: 492 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/0.5383, allocations: 375.3 kB / 0.8717 GB, free: 116 kB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.5383, allocations: 8 kB / 0.8717 GB, free: 108 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1879/0.7262, allocations: 19.82 MB / 0.891 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003457/0.7266, allocations: 339.6 kB / 0.8914 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.993, allocations: 0 / 0.8914 GB, free: 12.35 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)