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.001716/0.001716, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.002027/0.002027, allocations: 209.7 kB / 24.54 MB, free: 4.055 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.488/1.488, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2336/0.2336, allocations: 46.93 MB / 361.6 MB, free: 4.195 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.002329/0.002329, allocations: 75.88 kB / 0.497 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3279, allocations: 66.09 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009631/0.3376, allocations: 7.803 MB / 0.5691 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00507/0.3426, allocations: 2.447 MB / 0.5715 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008026/0.3434, allocations: 27.94 kB / 0.5715 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.3478, allocations: 1.827 MB / 0.5733 GB, free: 8.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.3504, allocations: 0.7099 MB / 0.574 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002456/0.3528, allocations: 1.081 MB / 0.5751 GB, free: 6.336 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.355, allocations: 1.417 MB / 0.5765 GB, free: 4.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.3564, allocations: 0.9378 MB / 0.5774 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.3572, allocations: 0.619 MB / 0.578 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008934/0.3581, allocations: 0.7391 MB / 0.5787 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.3583, allocations: 116 kB / 0.5788 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007246/0.359, allocations: 323.8 kB / 0.5791 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.3592, allocations: 302.9 kB / 0.5794 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006077/0.3598, allocations: 0.653 MB / 0.5801 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.3621, allocations: 1.774 MB / 0.5818 GB, free: 15.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3621, allocations: 3.938 kB / 0.5818 GB, free: 15.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3621, allocations: 0 / 0.5818 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.274e-05/0.3621, allocations: 0 / 0.5818 GB, free: 15.41 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: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007421/0.3695, allocations: 2.338 MB / 0.5841 GB, free: 13.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.3695, allocations: 12.03 kB / 0.5841 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002416/0.3698, allocations: 190.7 kB / 0.5843 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009852/0.3796, allocations: 1.335 MB / 0.5856 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.381, allocations: 0.5529 MB / 0.5861 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.3811, allocations: 103 kB / 0.5862 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.3814, allocations: 128.1 kB / 0.5863 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002872/0.3843, allocations: 1.494 MB / 0.5878 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.3843, allocations: 3.953 kB / 0.5878 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.3844, allocations: 59.98 kB / 0.5879 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.605e-05/0.3845, allocations: 32 kB / 0.5879 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.3872, allocations: 1.533 MB / 0.5894 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008815/0.3961, allocations: 5.042 MB / 0.5943 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.3981, allocations: 1.088 MB / 0.5954 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.3992, allocations: 0.546 MB / 0.5959 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.3993, allocations: 44.95 kB / 0.5959 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/0.3994, allocations: 43.56 kB / 0.596 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.406e-06/0.3994, allocations: 4 kB / 0.596 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009066/0.4084, allocations: 2.998 MB / 0.5989 GB, free: 13.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.4085, allocations: 94.05 kB / 0.599 GB, free: 13.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.4092, allocations: 461.9 kB / 0.5994 GB, free: 12.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.372e-05/0.4092, allocations: 49.7 kB / 0.5995 GB, free: 12.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.4096, allocations: 476.8 kB / 0.5999 GB, free: 12.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.41, allocations: 456.1 kB / 0.6004 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.4104, allocations: 218.8 kB / 0.6006 GB, free: 11.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4106, allocations: 378.8 kB / 0.601 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008859/0.4114, allocations: 462.4 kB / 0.6014 GB, free: 10.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.4126, allocations: 0.6958 MB / 0.6021 GB, free: 10.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.4147, allocations: 1.202 MB / 0.6032 GB, free: 8.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.4147, allocations: 0 / 0.6032 GB, free: 8.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003183/0.4179, allocations: 1.586 MB / 0.6048 GB, free: 7.242 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.418, allocations: 8 kB / 0.6048 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.418, allocations: 8 kB / 0.6048 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001636/0.4196, allocations: 0.5282 MB / 0.6053 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008113/0.4204, allocations: 199.7 kB / 0.6055 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001905/0.4206, allocations: 61.08 kB / 0.6056 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007213/0.4213, allocations: 119.1 kB / 0.6057 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/0.4214, allocations: 51.98 kB / 0.6057 GB, free: 6.27 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.0005069/0.4219, allocations: 270.4 kB / 0.606 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.4221, allocations: 83.48 kB / 0.6061 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.4252, allocations: 1.536 MB / 0.6076 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.523e-05/0.4252, allocations: 23.94 kB / 0.6076 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4252, allocations: 4 kB / 0.6076 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4252, allocations: 3.984 kB / 0.6076 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004948/0.4302, allocations: 2.819 MB / 0.6104 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.4302, allocations: 7.984 kB / 0.6104 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/0.4308, allocations: 139.8 kB / 0.6105 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.4323, allocations: 0.5145 MB / 0.611 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.4324, allocations: 35.97 kB / 0.611 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003159/0.4327, allocations: 68.73 kB / 0.6111 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4327, allocations: 0 / 0.6111 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004224/0.4369, allocations: 2.318 MB / 0.6134 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005512/0.4375, allocations: 211 kB / 0.6136 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.4376, allocations: 27.94 kB / 0.6136 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/0.4382, allocations: 44.05 kB / 0.6136 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.4384, allocations: 85.14 kB / 0.6137 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.401e-05/0.4385, allocations: 32 kB / 0.6137 GB, free: 13.95 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004068/0.4389, allocations: 314.9 kB / 0.614 GB, free: 13.64 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4389, allocations: 0 / 0.614 GB, free: 13.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001025/0.4399, allocations: 351.2 kB / 0.6144 GB, free: 13.3 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.004718/0.4446, allocations: 2.92 MB / 0.6172 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00301/0.4476, allocations: 1.281 MB / 0.6185 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4476, allocations: 0 / 0.6185 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.4494, allocations: 0.6842 MB / 0.6192 GB, free: 8.387 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008712/0.4503, allocations: 97.89 kB / 0.6192 GB, free: 8.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.4643, allocations: 8.396 MB / 0.6274 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008035/0.4651, allocations: 1.04 MB / 0.6285 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004669/0.4656, allocations: 106.8 kB / 0.6286 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.4661, allocations: 395.3 kB / 0.6289 GB, free: 14.05 MB / 478.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4661, allocations: 0 / 0.6289 GB, free: 14.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06041/0.5265, allocations: 23.24 MB / 0.6516 GB, free: 6.961 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.83, allocations: 10.81 kB / 0.6516 GB, free: 6.953 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.830799324903637] Failed to read output from testmodel.py, exit status != 0: ['time', 'I.re', 'I.im'] 13.935135349165648 13.963765559 13.596813837 Calling exit ...