Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 183.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6174/0.6174, allocations: 91.98 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.768/1.768, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009316, allocations: 95.42 kB / 427.4 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 8 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1553, allocations: 72.3 MB / 0.5689 GB, free: 1.816 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.405/4.561, allocations: 1.689 GB / 2.258 GB, free: 210.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/4.561, allocations: 87.95 kB / 2.258 GB, free: 210.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2688/4.83, allocations: 119.5 MB / 2.375 GB, free: 90.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.997e-06/4.83, allocations: 0 / 2.375 GB, free: 90.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002324/4.83, allocations: 55.94 kB / 2.375 GB, free: 90.48 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.007988/4.838, allocations: 2.41 MB / 2.377 GB, free: 88.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/4.838, allocations: 12.03 kB / 2.377 GB, free: 88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001371/4.84, allocations: 342.3 kB / 2.378 GB, free: 87.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/4.854, allocations: 1.951 MB / 2.379 GB, free: 85.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/4.858, allocations: 1.328 MB / 2.381 GB, free: 84.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/4.858, allocations: 185 kB / 2.381 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001344/4.859, allocations: 240 kB / 2.381 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01391/4.873, allocations: 3.657 MB / 2.385 GB, free: 80.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/4.874, allocations: 0 / 2.385 GB, free: 80.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001163/4.875, allocations: 111.9 kB / 2.385 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.344e-05/4.875, allocations: 60 kB / 2.385 GB, free: 80 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/4.891, allocations: 4.762 MB / 2.39 GB, free: 75.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02608/4.917, allocations: 8.839 MB / 2.398 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/4.928, allocations: 3.086 MB / 2.401 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009921/4.929, allocations: 0.5113 MB / 2.402 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006066/4.935, allocations: 1.914 MB / 2.404 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=222): time 7.084e-06/4.935, allocations: 0 / 2.404 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=222): time 0.01829/4.953, allocations: 4.784 MB / 2.408 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/4.953, allocations: 253.3 kB / 2.408 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/4.955, allocations: 1.008 MB / 2.409 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005303/4.956, allocations: 61.7 kB / 2.41 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008162/4.957, allocations: 0.8159 MB / 2.41 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008886/4.958, allocations: 0.7237 MB / 2.411 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/4.958, allocations: 40 kB / 2.411 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001449/4.958, allocations: 374.4 kB / 2.411 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/4.962, allocations: 1.351 MB / 2.413 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004327/4.967, allocations: 1.551 MB / 2.414 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004377/4.971, allocations: 1.415 MB / 2.416 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/4.971, allocations: 3.953 kB / 2.416 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01033/4.982, allocations: 3.335 MB / 2.419 GB, free: 44.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/4.982, allocations: 9.562 kB / 2.419 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/4.982, allocations: 0 / 2.419 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006317/4.982, allocations: 88.83 kB / 2.419 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/4.986, allocations: 0.628 MB / 2.42 GB, free: 44.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/4.988, allocations: 1.528 MB / 2.421 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/4.992, allocations: 374 kB / 2.421 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006921/4.993, allocations: 111.8 kB / 2.422 GB, free: 41.9 MB / 0.6042 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 (239): * Single equations (assignments): 238 * 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.002103/4.995, allocations: 477.5 kB / 2.422 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008804/4.996, allocations: 165.9 kB / 2.422 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/5.01, allocations: 4.018 MB / 2.426 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.431e-05/5.01, allocations: 24.06 kB / 2.426 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/5.01, allocations: 3.938 kB / 2.426 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-05/5.01, allocations: 15.95 kB / 2.426 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/5.029, allocations: 6.96 MB / 2.433 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/5.029, allocations: 7.938 kB / 2.433 GB, free: 30.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004047/5.033, allocations: 0.5968 MB / 2.434 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005808/5.034, allocations: 88.77 kB / 2.434 GB, free: 29.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004556/5.035, allocations: 67.92 kB / 2.434 GB, free: 29.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/5.036, allocations: 1.563 MB / 2.435 GB, free: 27.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/5.036, allocations: 0 / 2.435 GB, free: 27.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/5.048, allocations: 3.447 MB / 2.439 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/5.049, allocations: 0.6736 MB / 2.439 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007678/5.05, allocations: 44 kB / 2.439 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003377/5.054, allocations: 267.7 kB / 2.44 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/5.054, allocations: 141.8 kB / 2.44 GB, free: 23.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000311/5.054, allocations: 91.91 kB / 2.44 GB, free: 23.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00184/5.056, allocations: 0.8643 MB / 2.441 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.52e-07/5.056, allocations: 0 / 2.441 GB, free: 22.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003201/5.06, allocations: 0.7477 MB / 2.441 GB, free: 21.39 MB / 0.6042 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 (240): * Single equations (assignments): 237 * 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.01337/5.073, allocations: 5.027 MB / 2.446 GB, free: 16.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01088/5.084, allocations: 3.358 MB / 2.449 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/5.084, allocations: 0 / 2.449 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.005838/5.09, allocations: 1.853 MB / 2.451 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/5.092, allocations: 302.4 kB / 2.452 GB, free: 11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4844/5.577, allocations: 14.86 MB / 2.466 GB, free: 154.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/5.579, allocations: 1.538 MB / 2.468 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004941/5.584, allocations: 0.6185 MB / 2.468 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002288/5.586, allocations: 0.9645 MB / 2.469 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.433e-06/5.586, allocations: 0 / 2.469 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1379/5.724, allocations: 55.25 MB / 2.523 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/5.725, allocations: 284 kB / 2.523 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.177/9.901, allocations: 4 kB / 2.523 GB, free: 150.3 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)