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.001423/0.001423, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.001575/0.001575, allocations: 223.3 kB / 22.93 MB, free: 5.535 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.306/1.306, allocations: 230.2 MB / 256.1 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] 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.1962/0.1962, allocations: 46.88 MB / 359.3 MB, free: 4.977 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.002105/0.002105, allocations: 79.88 kB / 0.494 GB, free: 9.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2545, allocations: 65.98 MB / 0.5584 GB, free: 5.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.008499/0.263, allocations: 7.553 MB / 0.5658 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004325/0.2673, allocations: 2.361 MB / 0.5681 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008581/0.2682, allocations: 27.94 kB / 0.5681 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003767/0.2719, allocations: 1.757 MB / 0.5698 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.2739, allocations: 0.6978 MB / 0.5705 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.2754, allocations: 0.755 MB / 0.5713 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.277, allocations: 1.253 MB / 0.5725 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.2781, allocations: 0.7153 MB / 0.5732 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006853/0.2788, allocations: 0.5059 MB / 0.5737 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007518/0.2795, allocations: 0.6769 MB / 0.5743 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.2797, allocations: 104 kB / 0.5744 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005372/0.2802, allocations: 299.8 kB / 0.5747 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.2804, allocations: 274.9 kB / 0.575 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.2809, allocations: 0.6024 MB / 0.5756 GB, free: 3.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001849/0.2828, allocations: 1.611 MB / 0.5771 GB, free: 1.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2828, allocations: 0 / 0.5771 GB, free: 1.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.2828, allocations: 3.984 kB / 0.5771 GB, free: 1.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.2828, allocations: 0 / 0.5771 GB, free: 1.949 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.004064/0.2869, allocations: 1.833 MB / 0.5789 GB, free: 64 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.2869, allocations: 8.031 kB / 0.5789 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/0.2871, allocations: 198.7 kB / 0.5791 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008824/0.2959, allocations: 1.268 MB / 0.5804 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008741/0.2968, allocations: 0.5726 MB / 0.5809 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/0.2969, allocations: 95.03 kB / 0.581 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.2971, allocations: 139.9 kB / 0.5812 GB, free: 13.74 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.2992, allocations: 1.249 MB / 0.5824 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.2992, allocations: 0 / 0.5824 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.2993, allocations: 59.94 kB / 0.5824 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.2993, allocations: 32 kB / 0.5825 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.3017, allocations: 1.451 MB / 0.5839 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00768/0.3094, allocations: 5.821 MB / 0.5896 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.3111, allocations: 1.036 MB / 0.5906 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005463/0.3117, allocations: 336.2 kB / 0.5909 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.3118, allocations: 199.1 kB / 0.5911 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.3119, allocations: 47.5 kB / 0.5911 GB, free: 2.902 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.114e-06/0.3119, allocations: 3.938 kB / 0.5911 GB, free: 2.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.002152/0.314, allocations: 1.207 MB / 0.5923 GB, free: 1.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.3141, allocations: 64.34 kB / 0.5924 GB, free: 1.566 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009482/0.315, allocations: 0.8247 MB / 0.5932 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.3151, allocations: 41.7 kB / 0.5932 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/0.3154, allocations: 0.5155 MB / 0.5937 GB, free: 160 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.3156, allocations: 321.3 kB / 0.594 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/0.3159, allocations: 206.8 kB / 0.5942 GB, free: 15.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3161, allocations: 394.7 kB / 0.5946 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/0.3167, allocations: 354.4 kB / 0.5949 GB, free: 14.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/0.3176, allocations: 0.6147 MB / 0.5955 GB, free: 14.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.319, allocations: 0.9992 MB / 0.5965 GB, free: 13.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.319, allocations: 0 / 0.5965 GB, free: 13.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001998/0.321, allocations: 1.198 MB / 0.5977 GB, free: 11.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.321, allocations: 14.59 kB / 0.5977 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.321, allocations: 8 kB / 0.5977 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.3213, allocations: 69.67 kB / 0.5978 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/0.3222, allocations: 255.6 kB / 0.598 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.3244, allocations: 2.841 MB / 0.6008 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007605/0.3251, allocations: 154.8 kB / 0.6009 GB, free: 8.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.3252, allocations: 51.98 kB / 0.601 GB, free: 8.164 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.0003404/0.3255, allocations: 260.5 kB / 0.6012 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3257, allocations: 99.33 kB / 0.6013 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.3275, allocations: 1.111 MB / 0.6024 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3275, allocations: 12 kB / 0.6024 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3275, allocations: 0 / 0.6024 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3275, allocations: 3.984 kB / 0.6024 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.3315, allocations: 3.159 MB / 0.6055 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.3315, allocations: 8.125 kB / 0.6055 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006969/0.3322, allocations: 187.7 kB / 0.6057 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001956/0.3324, allocations: 61.67 kB / 0.6058 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/0.3324, allocations: 24 kB / 0.6058 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.3345, allocations: 2.824 MB / 0.6085 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.3345, allocations: 16.09 kB / 0.6086 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.3367, allocations: 1.485 MB / 0.61 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.3369, allocations: 192.3 kB / 0.6102 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.337, allocations: 31.94 kB / 0.6102 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/0.3376, allocations: 55.98 kB / 0.6103 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3378, allocations: 76.34 kB / 0.6103 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.3378, allocations: 39.98 kB / 0.6104 GB, free: 13.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007105/0.3385, allocations: 0.5771 MB / 0.6109 GB, free: 13.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3385, allocations: 0 / 0.6109 GB, free: 13.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008726/0.3394, allocations: 315.5 kB / 0.6113 GB, free: 12.89 MB / 462.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.002643/0.342, allocations: 2.099 MB / 0.6133 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.3438, allocations: 1.049 MB / 0.6143 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.3438, allocations: 4 kB / 0.6143 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009067/0.3448, allocations: 0.5892 MB / 0.6149 GB, free: 8.988 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.3455, allocations: 123.2 kB / 0.615 GB, free: 8.871 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.3573, allocations: 8.472 MB / 0.6233 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/0.3579, allocations: 1.008 MB / 0.6243 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.3585, allocations: 159.7 kB / 0.6244 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.359, allocations: 395.2 kB / 0.6248 GB, free: 14.32 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/0.359, allocations: 0 / 0.6248 GB, free: 14.32 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05485/0.4138, allocations: 19.96 MB / 0.6443 GB, free: 10.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.78, allocations: 9.125 kB / 0.6443 GB, free: 10.5 MB / 494.1 MB " [Timeout remaining time 649] (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: 13.319372368001495]