Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001531/0.001531, allocations: 115 kB / 19.7 MB, free: 2.043 MB / 14.72 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.001551/0.001551, allocations: 225.4 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9424/0.9424, allocations: 150 MB / 463.2 MB, free: 10.45 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 66.22 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1847, allocations: 89.17 MB / 0.7283 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.005424/0.1901, allocations: 3.333 MB / 0.7316 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.1927, allocations: 1.492 MB / 0.733 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.1929, allocations: 7.938 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1941, allocations: 354.6 kB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005665/0.1947, allocations: 151.2 kB / 0.7335 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.1952, allocations: 163.5 kB / 0.7337 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004824/0.1957, allocations: 330.9 kB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.1961, allocations: 200 kB / 0.7342 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.1964, allocations: 147.5 kB / 0.7343 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.1967, allocations: 159.4 kB / 0.7345 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.1967, allocations: 20 kB / 0.7345 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.1971, allocations: 175.6 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.1972, allocations: 91.72 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001438/0.1974, allocations: 115.4 kB / 0.7349 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.1979, allocations: 366.6 kB / 0.7352 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1979, allocations: 4 kB / 0.7352 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.904e-06/0.1979, allocations: 0 / 0.7352 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.1979, allocations: 4 kB / 0.7352 GB, free: 10.14 MB / 0.5606 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.001043/0.1989, allocations: 481.4 kB / 0.7357 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.199, allocations: 12.03 kB / 0.7357 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.1991, allocations: 54.73 kB / 0.7358 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006869/0.1997, allocations: 96.66 kB / 0.7358 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003827/0.2001, allocations: 203.7 kB / 0.736 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.2001, allocations: 12.81 kB / 0.7361 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.857e-05/0.2002, allocations: 20.38 kB / 0.7361 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.2007, allocations: 320.4 kB / 0.7364 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2008, allocations: 0 / 0.7364 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.2008, allocations: 4 kB / 0.7364 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.2008, allocations: 28.36 kB / 0.7364 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.2012, allocations: 209.5 kB / 0.7366 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.203, allocations: 1.467 MB / 0.738 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.2034, allocations: 122.5 kB / 0.7382 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.992e-05/0.2035, allocations: 32.84 kB / 0.7382 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.2035, allocations: 8 kB / 0.7382 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.2036, allocations: 38.55 kB / 0.7382 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.2036, allocations: 0 / 0.7382 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005713/0.2041, allocations: 182.3 kB / 0.7384 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.2042, allocations: 55.41 kB / 0.7385 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.2044, allocations: 214.9 kB / 0.7387 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.2045, allocations: 25.7 kB / 0.7387 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.2046, allocations: 184 kB / 0.7389 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.2046, allocations: 31.73 kB / 0.7389 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.2047, allocations: 37.67 kB / 0.7389 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.2049, allocations: 326.8 kB / 0.7392 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.773e-05/0.205, allocations: 39.98 kB / 0.7393 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.2051, allocations: 114.8 kB / 0.7394 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002559/0.2054, allocations: 168.4 kB / 0.7396 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.2054, allocations: 8.062 kB / 0.7396 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003986/0.2058, allocations: 210.1 kB / 0.7398 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2058, allocations: 8 kB / 0.7398 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2058, allocations: 0 / 0.7398 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.206, allocations: 32.78 kB / 0.7398 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.2062, allocations: 36.2 kB / 0.7398 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.2075, allocations: 1.318 MB / 0.7411 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.2077, allocations: 19.98 kB / 0.7411 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.2077, allocations: 7.938 kB / 0.7411 GB, free: 3.574 MB / 0.5606 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.0001955/0.2079, allocations: 157.7 kB / 0.7413 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.2079, allocations: 15.91 kB / 0.7413 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.2079, allocations: 17.41 kB / 0.7413 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2079, allocations: 4.047 kB / 0.7413 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.208, allocations: 4 kB / 0.7413 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.208, allocations: 7.922 kB / 0.7413 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007013/0.2087, allocations: 462.2 kB / 0.7418 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2087, allocations: 0 / 0.7418 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.2087, allocations: 8 kB / 0.7418 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.163e-05/0.2088, allocations: 32.77 kB / 0.7418 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2088, allocations: 4 kB / 0.7418 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.2099, allocations: 1.323 MB / 0.7431 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2099, allocations: 3.938 kB / 0.7431 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.2102, allocations: 232.7 kB / 0.7433 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-05/0.2103, allocations: 27.83 kB / 0.7434 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.2103, allocations: 0 / 0.7434 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.2105, allocations: 20.05 kB / 0.7434 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.2105, allocations: 3.984 kB / 0.7434 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.2105, allocations: 4 kB / 0.7434 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001589/0.2107, allocations: 148.5 kB / 0.7435 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2107, allocations: 0 / 0.7435 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003698/0.211, allocations: 55.89 kB / 0.7436 GB, free: 0.875 MB / 0.5606 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.0007151/0.2118, allocations: 0.7757 MB / 0.7444 GB, free: 68 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.2123, allocations: 227 kB / 0.7446 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2123, allocations: 64 / 0.7446 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.2126, allocations: 166.6 kB / 0.7447 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.213, allocations: 34.31 kB / 0.7448 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.2157, allocations: 2.172 MB / 0.7469 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.2161, allocations: 0.7515 MB / 0.7476 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.2162, allocations: 33.45 kB / 0.7476 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.2163, allocations: 59.41 kB / 0.7477 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.2163, allocations: 0 / 0.7477 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04544/0.2617, allocations: 4.204 MB / 0.7518 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.64, allocations: 15.64 kB / 0.7518 GB, free: 8.395 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.850914619000832] Failed to read output from testmodel.py, exit status != 0: 11.752872527998989 12.10465907 11.904135471 Calling exit ...