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.001451/0.001451, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001613/0.001613, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2245/0.2245, allocations: 46.92 MB / 361.6 MB, free: 4.223 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.002323/0.002323, allocations: 79.86 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.321, allocations: 66.09 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00968/0.3306, allocations: 7.546 MB / 0.5689 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004954/0.3356, allocations: 2.369 MB / 0.5712 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007929/0.3364, allocations: 27.94 kB / 0.5712 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004143/0.3405, allocations: 1.761 MB / 0.5729 GB, free: 8.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.3429, allocations: 0.71 MB / 0.5736 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001998/0.3449, allocations: 0.7396 MB / 0.5744 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002288/0.3472, allocations: 1.257 MB / 0.5756 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.3487, allocations: 0.8673 MB / 0.5764 GB, free: 4.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007245/0.3495, allocations: 0.5253 MB / 0.5769 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007733/0.3502, allocations: 0.6653 MB / 0.5776 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.3504, allocations: 104 kB / 0.5777 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007733/0.3512, allocations: 307.8 kB / 0.578 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.3514, allocations: 279 kB / 0.5783 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006362/0.352, allocations: 0.6024 MB / 0.5788 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.354, allocations: 1.611 MB / 0.5804 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.354, allocations: 0 / 0.5804 GB, free: 0.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.354, allocations: 4 kB / 0.5804 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.749e-05/0.3541, allocations: 0 / 0.5804 GB, free: 0.8711 MB / 414.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.004424/0.3585, allocations: 1.757 MB / 0.5821 GB, free: 15.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3585, allocations: 8.031 kB / 0.5821 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002312/0.3588, allocations: 202.6 kB / 0.5823 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009178/0.3679, allocations: 1.268 MB / 0.5836 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.3692, allocations: 0.504 MB / 0.5841 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/0.3693, allocations: 99.03 kB / 0.5842 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.3695, allocations: 139.9 kB / 0.5843 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.3719, allocations: 1.245 MB / 0.5855 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.3719, allocations: 15.94 kB / 0.5855 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.3721, allocations: 52 kB / 0.5856 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-05/0.3721, allocations: 32 kB / 0.5856 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/0.3747, allocations: 1.455 MB / 0.587 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007984/0.3826, allocations: 4.197 MB / 0.5911 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.3845, allocations: 0.8305 MB / 0.5919 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/0.3851, allocations: 332.2 kB / 0.5923 GB, free: 4.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.3852, allocations: 36.94 kB / 0.5923 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.3853, allocations: 51.56 kB / 0.5923 GB, free: 4.438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.635e-06/0.3853, allocations: 0 / 0.5923 GB, free: 4.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002307/0.3876, allocations: 1.06 MB / 0.5934 GB, free: 3.371 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3876, allocations: 60.41 kB / 0.5934 GB, free: 3.301 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.3887, allocations: 0.8247 MB / 0.5942 GB, free: 2.461 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.287e-05/0.3888, allocations: 41.7 kB / 0.5943 GB, free: 2.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.3892, allocations: 0.5117 MB / 0.5948 GB, free: 1.895 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.3895, allocations: 329.2 kB / 0.5951 GB, free: 1.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003277/0.3898, allocations: 202.8 kB / 0.5953 GB, free: 1.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.39, allocations: 402.7 kB / 0.5957 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006639/0.3907, allocations: 354.5 kB / 0.596 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.3916, allocations: 0.6192 MB / 0.5966 GB, free: 15.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.3931, allocations: 0.9875 MB / 0.5976 GB, free: 14.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.3932, allocations: 0 / 0.5976 GB, free: 14.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002247/0.3954, allocations: 1.197 MB / 0.5987 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.3954, allocations: 11.94 kB / 0.5988 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3954, allocations: 8.75 kB / 0.5988 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.3957, allocations: 73.67 kB / 0.5988 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.3967, allocations: 267.5 kB / 0.5991 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.3992, allocations: 2.61 MB / 0.6016 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/0.4001, allocations: 162.7 kB / 0.6018 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.4002, allocations: 56.11 kB / 0.6018 GB, free: 10.16 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.0004823/0.4007, allocations: 257.5 kB / 0.6021 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.4009, allocations: 99.33 kB / 0.6022 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.403, allocations: 1.103 MB / 0.6033 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4031, allocations: 8 kB / 0.6033 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4031, allocations: 0 / 0.6033 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.4031, allocations: 7.984 kB / 0.6033 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.4074, allocations: 2.407 MB / 0.6056 GB, free: 6.105 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.4074, allocations: 8 kB / 0.6056 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007457/0.4081, allocations: 176.5 kB / 0.6058 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002371/0.4084, allocations: 69.67 kB / 0.6059 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.4084, allocations: 31.92 kB / 0.6059 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.4107, allocations: 2.611 MB / 0.6085 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.4107, allocations: 8 kB / 0.6085 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002519/0.4133, allocations: 1.486 MB / 0.6099 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.4136, allocations: 127.1 kB / 0.61 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.4138, allocations: 31.95 kB / 0.6101 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/0.4145, allocations: 55.84 kB / 0.6101 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.4146, allocations: 84.47 kB / 0.6102 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.4147, allocations: 32 kB / 0.6102 GB, free: 1.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008892/0.4156, allocations: 0.581 MB / 0.6108 GB, free: 500 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4156, allocations: 0 / 0.6108 GB, free: 500 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001078/0.4167, allocations: 311.6 kB / 0.6111 GB, free: 188 kB / 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.003173/0.4198, allocations: 2.087 MB / 0.6131 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0022/0.422, allocations: 1.059 MB / 0.6142 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.4221, allocations: 0 / 0.6142 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.4231, allocations: 0.5962 MB / 0.6147 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009448/0.424, allocations: 119.2 kB / 0.6149 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.4387, allocations: 8.475 MB / 0.6231 GB, free: 3.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007858/0.4395, allocations: 1.012 MB / 0.6241 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005955/0.4401, allocations: 155.8 kB / 0.6243 GB, free: 1.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005846/0.4407, allocations: 387.3 kB / 0.6246 GB, free: 1.605 MB / 462.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4407, allocations: 4 kB / 0.6246 GB, free: 1.602 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0638/0.5045, allocations: 20.63 MB / 0.6448 GB, free: 13.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.25, allocations: 9.812 kB / 0.6448 GB, free: 13.11 MB / 494.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.179306870792061] Failed to read output from testmodel.py, exit status != 0: ['time', 'v.re', 'v.im'] 12.345393414143473 12.361048482 12.003623153 Calling exit ...