Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001761/0.001761, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002216/0.002216, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2447/0.2447, allocations: 46.93 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 87.84 kB / 0.4917 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1399, allocations: 66.04 MB / 0.5562 GB, free: 5.586 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009586/0.1495, allocations: 7.523 MB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.1547, allocations: 2.369 MB / 0.5658 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.1557, allocations: 27.94 kB / 0.5658 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.1599, allocations: 1.745 MB / 0.5675 GB, free: 9.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.1627, allocations: 0.7065 MB / 0.5682 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.1647, allocations: 0.759 MB / 0.569 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.1668, allocations: 1.249 MB / 0.5702 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.1683, allocations: 0.7153 MB / 0.5709 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.1699, allocations: 0.5215 MB / 0.5714 GB, free: 5.883 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.171, allocations: 0.6652 MB / 0.5721 GB, free: 5.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.1712, allocations: 104 kB / 0.5722 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.1722, allocations: 299.8 kB / 0.5724 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.1725, allocations: 271 kB / 0.5727 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008466/0.1733, allocations: 0.6102 MB / 0.5733 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.1759, allocations: 1.611 MB / 0.5749 GB, free: 2.324 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1759, allocations: 8 kB / 0.5749 GB, free: 2.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1759, allocations: 0 / 0.5749 GB, free: 2.316 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.1759, allocations: 0 / 0.5749 GB, free: 2.316 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.00482/0.1808, allocations: 1.829 MB / 0.5767 GB, free: 444 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1808, allocations: 16.03 kB / 0.5767 GB, free: 428 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002554/0.1811, allocations: 194.7 kB / 0.5769 GB, free: 224 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009474/0.1905, allocations: 1.264 MB / 0.5781 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.1925, allocations: 0.561 MB / 0.5786 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.1926, allocations: 103 kB / 0.5787 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.1929, allocations: 139.9 kB / 0.5789 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.1956, allocations: 1.253 MB / 0.5801 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.1956, allocations: 0 / 0.5801 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.1958, allocations: 56 kB / 0.5802 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.1958, allocations: 32 kB / 0.5802 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00269/0.1985, allocations: 1.463 MB / 0.5816 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008909/0.2074, allocations: 5.809 MB / 0.5873 GB, free: 4.988 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.2093, allocations: 1.044 MB / 0.5883 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.2099, allocations: 332.2 kB / 0.5886 GB, free: 3.559 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.2101, allocations: 191.2 kB / 0.5888 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.2102, allocations: 51.55 kB / 0.5889 GB, free: 3.277 MB / 446.1 MB Notification: Performance of pre-optimization done (n=90): time 2.875e-06/0.2102, allocations: 4 kB / 0.5889 GB, free: 3.273 MB / 446.1 MB Notification: Performance of matching and sorting (n=90): time 0.002428/0.2126, allocations: 1.203 MB / 0.59 GB, free: 2.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.2127, allocations: 60.41 kB / 0.5901 GB, free: 1.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.2138, allocations: 0.8364 MB / 0.5909 GB, free: 1.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.2138, allocations: 41.7 kB / 0.5909 GB, free: 1.051 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.2142, allocations: 0.5117 MB / 0.5914 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.2145, allocations: 321.2 kB / 0.5918 GB, free: 220 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.2148, allocations: 210.8 kB / 0.592 GB, free: 0 / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003028/0.2151, allocations: 394.3 kB / 0.5923 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008016/0.2159, allocations: 350.5 kB / 0.5927 GB, free: 33.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008004/0.2167, allocations: 0.6199 MB / 0.5933 GB, free: 33.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.2183, allocations: 0.9947 MB / 0.5942 GB, free: 32.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.2183, allocations: 2.719 kB / 0.5942 GB, free: 32.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002463/0.2208, allocations: 1.193 MB / 0.5954 GB, free: 32.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.2208, allocations: 18.58 kB / 0.5954 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.2208, allocations: 8.219 kB / 0.5954 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003444/0.2211, allocations: 65.28 kB / 0.5955 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.2222, allocations: 261.9 kB / 0.5957 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.224, allocations: 2.828 MB / 0.5985 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009859/0.2249, allocations: 158.1 kB / 0.5987 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.2251, allocations: 49.72 kB / 0.5987 GB, free: 29.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004455/0.2255, allocations: 262.8 kB / 0.599 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.2257, allocations: 104.9 kB / 0.5991 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/0.2278, allocations: 1.1 MB / 0.6001 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.2278, allocations: 8.969 kB / 0.6001 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.2278, allocations: 1.656 kB / 0.6001 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.2278, allocations: 5.359 kB / 0.6001 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004197/0.232, allocations: 3.172 MB / 0.6032 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.232, allocations: 10.94 kB / 0.6033 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007997/0.2328, allocations: 179.2 kB / 0.6034 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002606/0.2331, allocations: 67.61 kB / 0.6035 GB, free: 27.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.2331, allocations: 27.45 kB / 0.6035 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.2347, allocations: 2.823 MB / 0.6063 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/0.2347, allocations: 15.34 kB / 0.6063 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.2373, allocations: 1.481 MB / 0.6077 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/0.2377, allocations: 200.8 kB / 0.6079 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.2378, allocations: 30.94 kB / 0.608 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006596/0.2385, allocations: 52.22 kB / 0.608 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/0.2387, allocations: 77.66 kB / 0.6081 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.2388, allocations: 33.33 kB / 0.6081 GB, free: 23.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008425/0.2396, allocations: 0.5827 MB / 0.6087 GB, free: 22.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2396, allocations: 0 / 0.6087 GB, free: 22.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001221/0.2408, allocations: 310.2 kB / 0.609 GB, free: 22.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.002809/0.2436, allocations: 2.096 MB / 0.611 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.2457, allocations: 1.049 MB / 0.612 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.2457, allocations: 2.375 kB / 0.6121 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000913/0.2466, allocations: 0.5958 MB / 0.6126 GB, free: 20.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.2477, allocations: 119.5 kB / 0.6127 GB, free: 20.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.2609, allocations: 8.469 MB / 0.621 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007933/0.2617, allocations: 1.015 MB / 0.622 GB, free: 14.78 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006963/0.2624, allocations: 155.5 kB / 0.6222 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.2629, allocations: 389.9 kB / 0.6225 GB, free: 14.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/0.2629, allocations: 0 / 0.6225 GB, free: 14.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05354/0.3164, allocations: 19.97 MB / 0.642 GB, free: 1.586 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.03, allocations: 7.938 kB / 0.642 GB, free: 1.578 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.836638410110027] Failed to read output from testmodel.py, exit status != 0: ['time', 'v.re', 'v.im'] 12.460863392800093 12.477079698 12.297914701 Calling exit ...