Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008443/0.0008443, allocations: 177.2 kB / 23.24 MB, free: 1.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9496/0.9496, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.939/1.939, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_13_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_13_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.018e-05, allocations: 2.281 kB / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001165/0.001185, allocations: 0.6002 MB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 4.218e-05/0.001228, allocations: 4 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.001247, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.617e-05/0.001273, allocations: 3.938 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.201e-06/0.001279, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.28e-05/0.001312, allocations: 4 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.541e-05/0.001357, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.351e-05/0.001401, allocations: 4 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.001433, allocations: 3.938 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2e-05/0.001453, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.001466, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-06/0.001469, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.001481, allocations: 4 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.571e-05/0.001497, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 4.877e-05/0.001545, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.001548, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.92e-07/0.001549, allocations: 8 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.001553, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002229/0.001775, allocations: 234.5 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.001819, allocations: 9.344 kB / 1.001 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.001851, allocations: 30.75 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.86e-05/0.00187, allocations: 0.9375 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.457e-05/0.001925, allocations: 105.8 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.001935, allocations: 8.359 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-06/0.001942, allocations: 384 / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.465e-05/0.002016, allocations: 34.19 kB / 1.002 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.002023, allocations: 4.188 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.00203, allocations: 384 / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.002035, allocations: 4.125 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.002051, allocations: 4 kB / 1.002 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.843e-05/0.002139, allocations: 112.8 kB / 1.002 GB, free: 12.29 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.788e-05/0.002177, allocations: 18.61 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.002197, allocations: 12.8 kB / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.002203, allocations: 64 / 1.002 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.00222, allocations: 38.5 kB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.002221, allocations: 0 / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001014/0.002322, allocations: 37.69 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.002351, allocations: 55.34 kB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.602e-05/0.002377, allocations: 89.86 kB / 1.002 GB, free: 12 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.002387, allocations: 29.64 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 1.985e-05/0.002407, allocations: 88.14 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.002434, allocations: 0 / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.002454, allocations: 9.719 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.002533, allocations: 310.8 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.002542, allocations: 4 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.979e-06/0.002547, allocations: 128 / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.002572, allocations: 20.86 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.002574, allocations: 0 / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.541e-05/0.002609, allocations: 41.64 kB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.002621, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.002625, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.002635, allocations: 4 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.678e-05/0.002692, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.002698, allocations: 3.938 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-06/0.002705, allocations: 0 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.002709, allocations: 32 / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.86e-05/0.002758, allocations: 113.8 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-06/0.00276, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.002775, allocations: 6.984 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.002777, allocations: 0 / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.002781, allocations: 3.938 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.002784, allocations: 0 / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.709e-05/0.002841, allocations: 124.8 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.002841, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-06/0.002847, allocations: 3.938 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.002848, allocations: 0 / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.002853, allocations: 8 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.002854, allocations: 0 / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.002855, allocations: 3.938 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.72e-05/0.002903, allocations: 53.12 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.002907, allocations: 4 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.002915, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.486e-06/0.002918, allocations: 0 / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.002932, allocations: 3.938 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-06/0.002934, allocations: 3.938 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.955e-05/0.002953, allocations: 79.22 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.002953, allocations: 4.031 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001181/0.003071, allocations: 8 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002145/0.003286, allocations: 0.5851 MB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.767e-05/0.003343, allocations: 12 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.003345, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.003347, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.932e-05/0.003447, allocations: 7.938 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.003695, allocations: 106.6 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.003726, allocations: 59.36 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 9.879e-06/0.003736, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.003754, allocations: 8.5 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.003755, allocations: 0 / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08005/0.0838, allocations: 1.537 MB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.029, allocations: 1.891 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Time_Examples_ModelTime.fmu) > Buildings_13_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Time_Examples_ModelTime.fmu) > Buildings_13_Buildings.Utilities.Time.Examples.ModelTime_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.754906766116619]