Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.418/1.418, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 182.7 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008988/0.0008988, allocations: 93.59 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003618, allocations: 9.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2801, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.722/6.002, allocations: 2.194 GB / 3.094 GB, free: 24.63 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003859/6.003, allocations: 89.17 kB / 3.094 GB, free: 24.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.8811/6.884, allocations: 96.5 MB / 3.189 GB, free: 294.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.857e-06/6.884, allocations: 7.938 kB / 3.189 GB, free: 294.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001047/6.884, allocations: 40 kB / 3.189 GB, free: 294.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.004204/6.888, allocations: 2.006 MB / 3.191 GB, free: 292.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/6.888, allocations: 12.03 kB / 3.191 GB, free: 292.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003683/6.889, allocations: 266.2 kB / 3.191 GB, free: 291.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.012/6.901, allocations: 1.804 MB / 3.193 GB, free: 290 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/6.904, allocations: 1.033 MB / 3.194 GB, free: 289 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/6.904, allocations: 139.8 kB / 3.194 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004135/6.904, allocations: 183.9 kB / 3.194 GB, free: 288.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008009/6.912, allocations: 2.923 MB / 3.197 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/6.912, allocations: 0 / 3.197 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/6.913, allocations: 80 kB / 3.197 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/6.913, allocations: 44 kB / 3.197 GB, free: 285.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/6.925, allocations: 4.007 MB / 3.201 GB, free: 281.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/6.94, allocations: 6.233 MB / 3.207 GB, free: 275.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007858/6.948, allocations: 2.756 MB / 3.21 GB, free: 272.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007967/6.949, allocations: 0.5073 MB / 3.21 GB, free: 271.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004431/6.953, allocations: 1.632 MB / 3.212 GB, free: 270.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=192): time 5.621e-06/6.953, allocations: 96 / 3.212 GB, free: 270.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=192): time 0.01259/6.966, allocations: 4.062 MB / 3.216 GB, free: 266.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/6.966, allocations: 257.3 kB / 3.216 GB, free: 265.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/6.967, allocations: 0.7587 MB / 3.217 GB, free: 265.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003003/6.968, allocations: 57.7 kB / 3.217 GB, free: 265 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/6.968, allocations: 0.6335 MB / 3.217 GB, free: 264.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005179/6.969, allocations: 0.6158 MB / 3.218 GB, free: 263.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/6.969, allocations: 36 kB / 3.218 GB, free: 263.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001151/6.969, allocations: 377.8 kB / 3.218 GB, free: 263.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003365/6.972, allocations: 1.12 MB / 3.219 GB, free: 262.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003524/6.976, allocations: 1.301 MB / 3.221 GB, free: 260.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/6.979, allocations: 1.169 MB / 3.222 GB, free: 259.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/6.98, allocations: 0 / 3.222 GB, free: 259.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.008769/6.988, allocations: 2.796 MB / 3.225 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/6.988, allocations: 8 kB / 3.225 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/6.988, allocations: 0 / 3.225 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007447/6.989, allocations: 88.86 kB / 3.225 GB, free: 256.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/6.994, allocations: 0.5461 MB / 3.225 GB, free: 256.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/6.996, allocations: 1.544 MB / 3.227 GB, free: 254.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/6.999, allocations: 306.4 kB / 3.227 GB, free: 254.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003574/6.999, allocations: 87.89 kB / 3.227 GB, free: 254.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 202 * 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.001268/7.001, allocations: 386.1 kB / 3.228 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/7.001, allocations: 134.3 kB / 3.228 GB, free: 253.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009779/7.011, allocations: 3.4 MB / 3.231 GB, free: 250.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/7.011, allocations: 20 kB / 3.231 GB, free: 250.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.011, allocations: 0 / 3.231 GB, free: 250.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.558e-05/7.011, allocations: 19.91 kB / 3.231 GB, free: 250.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/7.026, allocations: 5.546 MB / 3.236 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/7.026, allocations: 0 / 3.236 GB, free: 244.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003344/7.029, allocations: 0.5305 MB / 3.237 GB, free: 244 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005392/7.03, allocations: 84.78 kB / 3.237 GB, free: 244 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/7.03, allocations: 67.88 kB / 3.237 GB, free: 243.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/7.032, allocations: 1.567 MB / 3.239 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.032, allocations: 3.938 kB / 3.239 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009362/7.041, allocations: 2.953 MB / 3.241 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001503/7.043, allocations: 0.5335 MB / 3.242 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006484/7.043, allocations: 36 kB / 3.242 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/7.046, allocations: 243.8 kB / 3.242 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/7.047, allocations: 121.8 kB / 3.242 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003171/7.047, allocations: 87.92 kB / 3.242 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001326/7.048, allocations: 0.649 MB / 3.243 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/7.048, allocations: 0 / 3.243 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002816/7.051, allocations: 0.6038 MB / 3.244 GB, free: 236.9 MB / 0.8855 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 203 * 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.01213/7.063, allocations: 4.473 MB / 3.248 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009672/7.073, allocations: 2.854 MB / 3.251 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/7.073, allocations: 0 / 3.251 GB, free: 229.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005304/7.078, allocations: 1.611 MB / 3.252 GB, free: 228 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/7.081, allocations: 268.7 kB / 3.253 GB, free: 227.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03543/7.116, allocations: 11.95 MB / 3.264 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/7.118, allocations: 1.369 MB / 3.266 GB, free: 214.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005067/7.123, allocations: 0.5462 MB / 3.266 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/7.125, allocations: 0.753 MB / 3.267 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.874e-06/7.125, allocations: 4 kB / 3.267 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08685/7.212, allocations: 46.3 MB / 3.312 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/7.212, allocations: 284.3 kB / 3.312 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.844/11.06, allocations: 0 / 3.312 GB, free: 166.4 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)