Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.928/1.928, allocations: 289.9 MB / 297.4 MB, free: 6.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009996/0.0009997, allocations: 176.9 kB / 366.7 MB, free: 1.57 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009373/0.0009378, allocations: 85.23 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.804e-05/1.806e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6698, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.444/6.114, allocations: 2.072 GB / 3.046 GB, free: 11.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/6.114, allocations: 92.75 kB / 3.046 GB, free: 11.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8315/6.946, allocations: 56.63 MB / 3.101 GB, free: 331.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.344e-06/6.946, allocations: 0 / 3.101 GB, free: 331.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.72e-05/6.946, allocations: 22.53 kB / 3.101 GB, free: 331.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002072/6.948, allocations: 1.033 MB / 3.102 GB, free: 330.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/6.948, allocations: 9.031 kB / 3.102 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009312/6.949, allocations: 185.6 kB / 3.102 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/6.95, allocations: 0.6012 MB / 3.103 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/6.95, allocations: 24.75 kB / 3.103 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/6.95, allocations: 42.62 kB / 3.103 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001652/6.952, allocations: 0.969 MB / 3.104 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/6.953, allocations: 0.6908 MB / 3.104 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/6.953, allocations: 1.312 kB / 3.104 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/6.953, allocations: 5.375 kB / 3.104 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/6.953, allocations: 24.36 kB / 3.104 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/6.957, allocations: 2.217 MB / 3.107 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/6.958, allocations: 0.6251 MB / 3.107 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004164/6.958, allocations: 234.7 kB / 3.107 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.145e-05/6.958, allocations: 33.8 kB / 3.107 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006383/6.959, allocations: 380 kB / 3.108 GB, free: 327.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=71): time 2.815e-06/6.959, allocations: 0 / 3.108 GB, free: 327.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=71): time 0.002189/6.961, allocations: 0.6303 MB / 3.108 GB, free: 327.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/6.961, allocations: 243.3 kB / 3.109 GB, free: 327.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/6.962, allocations: 0.4927 MB / 3.109 GB, free: 326.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.621e-05/6.963, allocations: 26.77 kB / 3.109 GB, free: 326.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000419/6.963, allocations: 371.9 kB / 3.11 GB, free: 326.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/6.963, allocations: 228.7 kB / 3.11 GB, free: 326.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/6.963, allocations: 0.9375 kB / 3.11 GB, free: 326.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001837/6.964, allocations: 374.3 kB / 3.11 GB, free: 326 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/6.964, allocations: 185.8 kB / 3.11 GB, free: 325.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/6.965, allocations: 281 kB / 3.111 GB, free: 325.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/6.965, allocations: 234 kB / 3.111 GB, free: 325.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/6.965, allocations: 1.188 kB / 3.111 GB, free: 325.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001687/6.967, allocations: 0.6307 MB / 3.111 GB, free: 325.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/6.967, allocations: 5.5 kB / 3.111 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/6.967, allocations: 4.75 kB / 3.111 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00062/6.967, allocations: 82.53 kB / 3.112 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/6.968, allocations: 139.3 kB / 3.112 GB, free: 325.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/6.97, allocations: 1.459 MB / 3.113 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/6.97, allocations: 61.73 kB / 3.113 GB, free: 324 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-05/6.97, allocations: 28.52 kB / 3.113 GB, free: 324 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001998/6.971, allocations: 118.6 kB / 3.113 GB, free: 323.9 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001565/6.972, allocations: 0.6289 MB / 3.114 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/6.972, allocations: 70.19 kB / 3.114 GB, free: 323.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/6.975, allocations: 0.8769 MB / 3.115 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/6.975, allocations: 7.438 kB / 3.115 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/6.975, allocations: 5.281 kB / 3.115 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/6.975, allocations: 7.453 kB / 3.115 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/6.976, allocations: 0.7211 MB / 3.116 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/6.976, allocations: 4 kB / 3.116 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/6.976, allocations: 141.3 kB / 3.116 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/6.977, allocations: 85.45 kB / 3.116 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/6.977, allocations: 13.83 kB / 3.116 GB, free: 322.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/6.979, allocations: 1.479 MB / 3.117 GB, free: 321.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/6.979, allocations: 5.219 kB / 3.117 GB, free: 321.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/6.98, allocations: 0.7344 MB / 3.118 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/6.98, allocations: 272.6 kB / 3.118 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/6.981, allocations: 2.812 kB / 3.118 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005017/6.981, allocations: 45.06 kB / 3.118 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/6.981, allocations: 68.34 kB / 3.118 GB, free: 320.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/6.981, allocations: 31.14 kB / 3.118 GB, free: 320.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005674/6.982, allocations: 398.5 kB / 3.119 GB, free: 320.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/6.982, allocations: 0 / 3.119 GB, free: 320.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001201/6.983, allocations: 305.8 kB / 3.119 GB, free: 320.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003769/6.987, allocations: 2.241 MB / 3.121 GB, free: 319.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001348/6.988, allocations: 0.6264 MB / 3.122 GB, free: 319.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/6.988, allocations: 0 / 3.122 GB, free: 319.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007024/6.989, allocations: 434.1 kB / 3.122 GB, free: 319 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/6.99, allocations: 208.4 kB / 3.122 GB, free: 319 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/6.994, allocations: 1.428 MB / 3.124 GB, free: 318.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/6.995, allocations: 1.011 MB / 3.125 GB, free: 317.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008328/6.996, allocations: 254.3 kB / 3.125 GB, free: 317.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/6.996, allocations: 337.6 kB / 3.125 GB, free: 317.4 MB / 0.948 GB Notification: Performance of SimCode: time 7.91e-07/6.996, allocations: 0 / 3.125 GB, free: 317.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07659/7.073, allocations: 22.39 MB / 3.147 GB, free: 300.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003621/7.073, allocations: 207.8 kB / 3.147 GB, free: 300.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.024/10.1, allocations: 2.062 kB / 3.147 GB, free: 300.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)