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.0009268/0.0009268, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001065/0.001065, allocations: 214.8 kB / 23.03 MB, free: 2.969 MB / 13.93 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.9741/0.9741, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.94/1.94, allocations: 0.5046 GB / 0.8104 GB, free: 2.801 MB / 0.6511 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 0.0009123/0.0009123, allocations: 73.28 kB / 1.177 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3263, allocations: 180 MB / 1.352 GB, free: 9.246 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003943/0.3303, allocations: 3.195 MB / 1.356 GB, free: 6.035 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.3318, allocations: 1.395 MB / 1.357 GB, free: 4.633 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.3319, allocations: 7.938 kB / 1.357 GB, free: 4.625 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.3326, allocations: 327.5 kB / 1.357 GB, free: 4.305 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.3328, allocations: 159.2 kB / 1.357 GB, free: 4.148 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.3331, allocations: 160.7 kB / 1.358 GB, free: 3.992 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.3334, allocations: 334.7 kB / 1.358 GB, free: 3.664 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.3337, allocations: 200.3 kB / 1.358 GB, free: 3.465 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.3339, allocations: 151.5 kB / 1.358 GB, free: 3.316 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.3341, allocations: 151.4 kB / 1.358 GB, free: 3.168 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.3341, allocations: 20 kB / 1.358 GB, free: 3.148 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001677/0.3343, allocations: 151.7 kB / 1.358 GB, free: 3 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.3343, allocations: 87.67 kB / 1.359 GB, free: 2.914 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/0.3344, allocations: 107.5 kB / 1.359 GB, free: 2.809 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.3347, allocations: 362.7 kB / 1.359 GB, free: 2.453 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3347, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3347, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.3347, allocations: 0 / 1.359 GB, free: 2.453 MB / 1.042 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.0006465/0.3354, allocations: 0.4895 MB / 1.36 GB, free: 1.93 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3354, allocations: 8.922 kB / 1.36 GB, free: 1.922 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.3354, allocations: 54.73 kB / 1.36 GB, free: 1.859 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003783/0.3358, allocations: 92.64 kB / 1.36 GB, free: 1.77 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.336, allocations: 195.8 kB / 1.36 GB, free: 1.551 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.3361, allocations: 20.8 kB / 1.36 GB, free: 1.531 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3361, allocations: 20.38 kB / 1.36 GB, free: 1.512 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.3364, allocations: 397.5 kB / 1.36 GB, free: 1.086 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3365, allocations: 0 / 1.36 GB, free: 1.086 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3365, allocations: 4 kB / 1.36 GB, free: 1.082 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.3365, allocations: 20.44 kB / 1.36 GB, free: 1.059 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.3367, allocations: 217.5 kB / 1.36 GB, free: 0.8477 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009067/0.3376, allocations: 1.069 MB / 1.362 GB, free: 15.71 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.3381, allocations: 118.6 kB / 1.362 GB, free: 15.58 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.3381, allocations: 40.84 kB / 1.362 GB, free: 15.54 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3381, allocations: 4 kB / 1.362 GB, free: 15.54 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.3381, allocations: 30.56 kB / 1.362 GB, free: 15.5 MB / 1.057 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3381, allocations: 0 / 1.362 GB, free: 15.5 MB / 1.057 GB Notification: Performance of matching and sorting (n=8): time 0.0003448/0.3385, allocations: 190.6 kB / 1.362 GB, free: 15.3 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.3385, allocations: 55.41 kB / 1.362 GB, free: 15.23 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3386, allocations: 218.6 kB / 1.362 GB, free: 15.01 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.3387, allocations: 33.7 kB / 1.362 GB, free: 14.97 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.3387, allocations: 172 kB / 1.362 GB, free: 14.8 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3387, allocations: 27.75 kB / 1.362 GB, free: 14.77 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.3388, allocations: 41.66 kB / 1.362 GB, free: 14.73 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.3389, allocations: 326.8 kB / 1.363 GB, free: 14.4 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.3389, allocations: 43.97 kB / 1.363 GB, free: 14.36 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.339, allocations: 118.1 kB / 1.363 GB, free: 14.21 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.3391, allocations: 164.4 kB / 1.363 GB, free: 14.02 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3391, allocations: 0 / 1.363 GB, free: 14.02 MB / 1.057 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002156/0.3394, allocations: 222.2 kB / 1.363 GB, free: 13.79 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3394, allocations: 4 kB / 1.363 GB, free: 13.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3394, allocations: 4 kB / 1.363 GB, free: 13.79 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001288/0.3395, allocations: 28.78 kB / 1.363 GB, free: 13.75 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.256e-05/0.3396, allocations: 35.92 kB / 1.363 GB, free: 13.72 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000667/0.3403, allocations: 1.33 MB / 1.365 GB, free: 12.27 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.3403, allocations: 19.92 kB / 1.365 GB, free: 12.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.3403, allocations: 8 kB / 1.365 GB, free: 12.24 MB / 1.057 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 8.791e-05/0.3404, allocations: 154.2 kB / 1.365 GB, free: 12.08 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.3404, allocations: 15.91 kB / 1.365 GB, free: 12.07 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.537e-05/0.3405, allocations: 17.41 kB / 1.365 GB, free: 12.05 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-07/0.3405, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.3405, allocations: 8.125 kB / 1.365 GB, free: 12.04 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3405, allocations: 3.984 kB / 1.365 GB, free: 12.04 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.3408, allocations: 442.3 kB / 1.365 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3408, allocations: 3.984 kB / 1.365 GB, free: 11.55 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.05e-05/0.3408, allocations: 20.06 kB / 1.365 GB, free: 11.53 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.916e-05/0.3409, allocations: 16.84 kB / 1.365 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3409, allocations: 8 kB / 1.365 GB, free: 11.5 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005496/0.3415, allocations: 1.318 MB / 1.367 GB, free: 10.07 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3415, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.3416, allocations: 244.2 kB / 1.367 GB, free: 9.816 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.3417, allocations: 23.89 kB / 1.367 GB, free: 9.793 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.3417, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-05/0.3417, allocations: 11.98 kB / 1.367 GB, free: 9.781 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.3418, allocations: 8.156 kB / 1.367 GB, free: 9.773 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3418, allocations: 3.984 kB / 1.367 GB, free: 9.77 MB / 1.057 GB Notification: Performance of sorting global known variables: time 7.901e-05/0.3418, allocations: 152.3 kB / 1.367 GB, free: 9.621 MB / 1.057 GB Notification: Performance of sort global known variables: time 4e-08/0.3418, allocations: 4 kB / 1.367 GB, free: 9.617 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0001941/0.342, allocations: 55.89 kB / 1.367 GB, free: 9.562 MB / 1.057 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.0003359/0.3424, allocations: 0.7639 MB / 1.368 GB, free: 8.766 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.3427, allocations: 230.6 kB / 1.368 GB, free: 8.527 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3427, allocations: 0 / 1.368 GB, free: 8.527 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3428, allocations: 162.6 kB / 1.368 GB, free: 8.355 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.343, allocations: 38.58 kB / 1.368 GB, free: 8.32 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.3447, allocations: 2.16 MB / 1.37 GB, free: 6.023 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.346e-05/0.3448, allocations: 144.2 kB / 1.37 GB, free: 5.863 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 6.822e-05/0.3448, allocations: 29.45 kB / 1.371 GB, free: 5.832 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.951e-05/0.3449, allocations: 63.41 kB / 1.371 GB, free: 5.77 MB / 1.057 GB Notification: Performance of SimCode: time 8.01e-07/0.3449, allocations: 0 / 1.371 GB, free: 5.77 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08093/0.4258, allocations: 4.697 MB / 1.375 GB, free: 1.258 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.19/7.615, allocations: 6.781 kB / 1.375 GB, free: 1.254 MB / 1.057 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: 12.86675835121423]