Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.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.001396/0.001396, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001493/0.001493, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.298/1.298, allocations: 230.2 MB / 256.1 MB, free: 8.57 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.1997/0.1997, allocations: 46.89 MB / 359.3 MB, free: 4.918 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.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal",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.002115/0.002115, allocations: 75.88 kB / 0.494 GB, free: 9.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2603, allocations: 65.97 MB / 0.5584 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008707/0.269, allocations: 7.803 MB / 0.566 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004368/0.2733, allocations: 2.447 MB / 0.5684 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008371/0.2742, allocations: 24 kB / 0.5684 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003948/0.2781, allocations: 1.824 MB / 0.5702 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001856/0.28, allocations: 0.7137 MB / 0.5709 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.2821, allocations: 1.082 MB / 0.572 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.2836, allocations: 1.412 MB / 0.5733 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.2846, allocations: 0.7743 MB / 0.5741 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006326/0.2852, allocations: 0.6072 MB / 0.5747 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007349/0.286, allocations: 0.7276 MB / 0.5754 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.2861, allocations: 112 kB / 0.5755 GB, free: 3.582 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005979/0.2867, allocations: 339.8 kB / 0.5758 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.2869, allocations: 302.8 kB / 0.5761 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000531/0.2875, allocations: 0.653 MB / 0.5768 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.2894, allocations: 1.77 MB / 0.5785 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2894, allocations: 0 / 0.5785 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2894, allocations: 0 / 0.5785 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.2894, allocations: 0 / 0.5785 GB, free: 0.5195 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.006926/0.2963, allocations: 2.41 MB / 0.5808 GB, free: 14.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2964, allocations: 19.89 kB / 0.5809 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/0.2966, allocations: 198.7 kB / 0.5811 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009223/0.3058, allocations: 1.335 MB / 0.5824 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000917/0.3067, allocations: 0.621 MB / 0.583 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.37e-05/0.3068, allocations: 99.02 kB / 0.5831 GB, free: 11.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.307, allocations: 128.1 kB / 0.5832 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.3094, allocations: 1.491 MB / 0.5846 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.3094, allocations: 7.953 kB / 0.5846 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.3096, allocations: 59.98 kB / 0.5847 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.3096, allocations: 32 kB / 0.5847 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.3121, allocations: 1.521 MB / 0.5862 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007434/0.3195, allocations: 5.612 MB / 0.5917 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.3218, allocations: 2.057 MB / 0.5937 GB, free: 216 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000926/0.3228, allocations: 0.546 MB / 0.5942 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.3229, allocations: 191.2 kB / 0.5944 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.323, allocations: 43.56 kB / 0.5945 GB, free: 15.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 2.886e-06/0.323, allocations: 0 / 0.5945 GB, free: 15.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.008428/0.3314, allocations: 3.083 MB / 0.5975 GB, free: 12.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.3315, allocations: 90.11 kB / 0.5976 GB, free: 12.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005262/0.332, allocations: 473.9 kB / 0.598 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/0.3321, allocations: 45.7 kB / 0.5981 GB, free: 11.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.3324, allocations: 480.9 kB / 0.5985 GB, free: 11.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.3327, allocations: 444.2 kB / 0.5989 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.3331, allocations: 222.7 kB / 0.5992 GB, free: 10.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3333, allocations: 382.8 kB / 0.5995 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008234/0.3341, allocations: 458.4 kB / 0.6 GB, free: 9.676 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.3351, allocations: 0.6997 MB / 0.6006 GB, free: 8.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.337, allocations: 1.194 MB / 0.6018 GB, free: 7.598 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.337, allocations: 4 kB / 0.6018 GB, free: 7.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002797/0.3398, allocations: 1.578 MB / 0.6033 GB, free: 6.008 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3398, allocations: 8 kB / 0.6034 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.3398, allocations: 12 kB / 0.6034 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.3413, allocations: 0.524 MB / 0.6039 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.342, allocations: 199.7 kB / 0.6041 GB, free: 5.266 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001818/0.3422, allocations: 57.12 kB / 0.6041 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/0.3428, allocations: 123.1 kB / 0.6042 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.673e-05/0.3429, allocations: 52 kB / 0.6043 GB, free: 5.035 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0003996/0.3433, allocations: 269.6 kB / 0.6045 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.3434, allocations: 83.48 kB / 0.6046 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002798/0.3462, allocations: 1.544 MB / 0.6061 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.3462, allocations: 23.92 kB / 0.6062 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3462, allocations: 0 / 0.6062 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.3463, allocations: 3.984 kB / 0.6062 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004317/0.3506, allocations: 2.848 MB / 0.6089 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3506, allocations: 0 / 0.6089 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.3512, allocations: 143.8 kB / 0.6091 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.3526, allocations: 0.5184 MB / 0.6096 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/0.3526, allocations: 31.98 kB / 0.6096 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002919/0.3529, allocations: 72.73 kB / 0.6097 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3529, allocations: 4 kB / 0.6097 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/0.3567, allocations: 2.318 MB / 0.612 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.3571, allocations: 284.2 kB / 0.6122 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3572, allocations: 31.88 kB / 0.6123 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005391/0.3577, allocations: 39.98 kB / 0.6123 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.3579, allocations: 77.2 kB / 0.6124 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.358, allocations: 39.92 kB / 0.6124 GB, free: 12.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.3583, allocations: 314.9 kB / 0.6127 GB, free: 12.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3583, allocations: 0 / 0.6127 GB, free: 12.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008214/0.3591, allocations: 351.2 kB / 0.613 GB, free: 11.94 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00419/0.3633, allocations: 2.916 MB / 0.6159 GB, free: 8.992 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002673/0.366, allocations: 1.272 MB / 0.6171 GB, free: 7.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.366, allocations: 0 / 0.6171 GB, free: 7.719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.3676, allocations: 0.6813 MB / 0.6178 GB, free: 7.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.3682, allocations: 109.4 kB / 0.6179 GB, free: 6.934 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.3803, allocations: 8.377 MB / 0.6261 GB, free: 14.26 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.3809, allocations: 1.04 MB / 0.6271 GB, free: 13.19 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003998/0.3813, allocations: 106.8 kB / 0.6272 GB, free: 13.08 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/0.3818, allocations: 395.3 kB / 0.6276 GB, free: 12.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3818, allocations: 3.938 kB / 0.6276 GB, free: 12.69 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.052/0.4338, allocations: 22.41 MB / 0.6495 GB, free: 6.438 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.11, allocations: 10.94 kB / 0.6495 GB, free: 6.43 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_SinglePhase_Ideal.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.6378046250029]