Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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.001309/0.001309, allocations: 80.52 kB / 19.95 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.001521/0.001521, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.8991/0.8991, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.793/1.793, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_13_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.149e-05/2.324e-05, allocations: 13.73 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004634/0.004657, allocations: 3.174 MB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002196/0.006853, allocations: 1.383 MB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.007035, allocations: 7.938 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.008036, allocations: 329.7 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.008449, allocations: 163 kB / 1.006 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.008859, allocations: 163.4 kB / 1.006 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.009246, allocations: 354.6 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.009631, allocations: 196 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.00993, allocations: 203.5 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.01017, allocations: 127.6 kB / 1.007 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.0102, allocations: 20 kB / 1.007 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.01043, allocations: 163.6 kB / 1.007 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.01053, allocations: 87.73 kB / 1.007 GB, free: 7.172 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.01062, allocations: 83.77 kB / 1.007 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.01106, allocations: 374.9 kB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.01106, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01106, allocations: 0 / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.01107, allocations: 0 / 1.007 GB, free: 6.723 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008393/0.01191, allocations: 489.3 kB / 1.008 GB, free: 6.215 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.01195, allocations: 13.34 kB / 1.008 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.76e-05/0.01202, allocations: 62.7 kB / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/0.01262, allocations: 84.67 kB / 1.008 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.01293, allocations: 202.1 kB / 1.008 GB, free: 5.824 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.01295, allocations: 24.8 kB / 1.008 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.01297, allocations: 16.38 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.01345, allocations: 390.8 kB / 1.008 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.01347, allocations: 4.172 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.01349, allocations: 12.12 kB / 1.009 GB, free: 5.348 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.01353, allocations: 20.42 kB / 1.009 GB, free: 5.328 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.01386, allocations: 209.8 kB / 1.009 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.01501, allocations: 1.062 MB / 1.01 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.01532, allocations: 118.5 kB / 1.01 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.532e-05/0.0154, allocations: 48.83 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.01541, allocations: 0 / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.01543, allocations: 38.5 kB / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.01543, allocations: 0 / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0004047/0.01584, allocations: 182.4 kB / 1.01 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.01586, allocations: 51.41 kB / 1.01 GB, free: 3.512 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.01603, allocations: 215 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.01605, allocations: 29.7 kB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.01613, allocations: 183.9 kB / 1.011 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.01616, allocations: 31.73 kB / 1.011 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.01621, allocations: 37.66 kB / 1.011 GB, free: 3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.0163, allocations: 330.8 kB / 1.011 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.01639, allocations: 43.97 kB / 1.011 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.0165, allocations: 110.8 kB / 1.011 GB, free: 2.488 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.01668, allocations: 164.4 kB / 1.011 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01668, allocations: 64 / 1.011 GB, free: 2.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002968/0.01698, allocations: 222.3 kB / 1.011 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.017, allocations: 4 kB / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.017, allocations: 4.094 kB / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000139/0.01714, allocations: 36.72 kB / 1.012 GB, free: 2.023 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.01724, allocations: 27.98 kB / 1.012 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009127/0.01815, allocations: 1.322 MB / 1.013 GB, free: 0.5625 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01826, allocations: 19.84 kB / 1.013 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.01828, allocations: 11.98 kB / 1.013 GB, free: 0.5312 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.01839, allocations: 152.3 kB / 1.013 GB, free: 384 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.01843, allocations: 19.84 kB / 1.013 GB, free: 364 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.01846, allocations: 21.45 kB / 1.013 GB, free: 336 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01846, allocations: 4 kB / 1.013 GB, free: 332 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01846, allocations: 4.094 kB / 1.013 GB, free: 328 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.01847, allocations: 0 / 1.013 GB, free: 328 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.01901, allocations: 446.3 kB / 1.013 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01901, allocations: 0 / 1.013 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.01906, allocations: 8 kB / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.161e-05/0.01913, allocations: 24.84 kB / 1.014 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.01914, allocations: 7.984 kB / 1.014 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/0.01994, allocations: 1.319 MB / 1.015 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01994, allocations: 0 / 1.015 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.02018, allocations: 240.2 kB / 1.015 GB, free: 14.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.02023, allocations: 27.83 kB / 1.015 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.02025, allocations: 0 / 1.015 GB, free: 14.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.02035, allocations: 11.98 kB / 1.015 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.02039, allocations: 8.141 kB / 1.015 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.02039, allocations: 4 kB / 1.015 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001141/0.02051, allocations: 152.4 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.02051, allocations: 0 / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003178/0.02082, allocations: 59.84 kB / 1.015 GB, free: 13.84 MB / 0.9792 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 (7): * Single equations (assignments): 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000548/0.02137, allocations: 0.78 MB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003999/0.02177, allocations: 226.7 kB / 1.016 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02177, allocations: 0 / 1.016 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.02195, allocations: 154.7 kB / 1.016 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.0223, allocations: 27.98 kB / 1.016 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.02444, allocations: 2.155 MB / 1.019 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.02456, allocations: 152.1 kB / 1.019 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 8.822e-05/0.02465, allocations: 33.45 kB / 1.019 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.02472, allocations: 56.48 kB / 1.019 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of SimCode: time 6.41e-07/0.02472, allocations: 0 / 1.019 GB, free: 10.05 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/0.1376, allocations: 4.819 MB / 1.023 GB, free: 5.418 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/7.431, allocations: 10.62 kB / 1.024 GB, free: 5.41 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu) > Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu) > Buildings_13_Buildings.Electrical.DC.Sources.Examples.VoltageSource_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.937752141617239]