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.001758/0.001758, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002111/0.002111, allocations: 205 kB / 21.45 MB, free: 1.629 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.447/1.447, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2283/0.2283, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.002229/0.002229, allocations: 87.78 kB / 0.4917 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.137, allocations: 66.04 MB / 0.5562 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009525/0.1465, allocations: 7.778 MB / 0.5638 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.1516, allocations: 2.447 MB / 0.5661 GB, free: 11.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000828/0.1524, allocations: 35.94 kB / 0.5662 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004157/0.1566, allocations: 1.819 MB / 0.568 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002135/0.1587, allocations: 0.7099 MB / 0.5686 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.1612, allocations: 1.086 MB / 0.5697 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.1632, allocations: 1.405 MB / 0.5711 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.1646, allocations: 0.7742 MB / 0.5718 GB, free: 5.438 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009073/0.1655, allocations: 0.619 MB / 0.5724 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008422/0.1663, allocations: 0.7354 MB / 0.5732 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.1665, allocations: 112 kB / 0.5733 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007833/0.1673, allocations: 331.8 kB / 0.5736 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.1675, allocations: 298.9 kB / 0.5739 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006221/0.1681, allocations: 0.6569 MB / 0.5745 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.1703, allocations: 1.766 MB / 0.5762 GB, free: 0.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1703, allocations: 4 kB / 0.5762 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1703, allocations: 0 / 0.5762 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.1703, allocations: 0 / 0.5762 GB, free: 0.9141 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.007745/0.1781, allocations: 2.417 MB / 0.5786 GB, free: 14.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1781, allocations: 12.03 kB / 0.5786 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002513/0.1784, allocations: 190.7 kB / 0.5788 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009891/0.1883, allocations: 1.335 MB / 0.5801 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.1896, allocations: 0.6249 MB / 0.5807 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.291e-05/0.1897, allocations: 95.02 kB / 0.5808 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/0.1899, allocations: 140.1 kB / 0.5809 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.1926, allocations: 1.487 MB / 0.5824 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.1927, allocations: 7.953 kB / 0.5824 GB, free: 10.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.1928, allocations: 52 kB / 0.5824 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.494e-05/0.1928, allocations: 36 kB / 0.5825 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.1956, allocations: 1.517 MB / 0.584 GB, free: 8.852 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008482/0.2041, allocations: 5.612 MB / 0.5894 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.2066, allocations: 2.05 MB / 0.5914 GB, free: 0.625 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009788/0.2076, allocations: 0.546 MB / 0.592 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2501/0.4577, allocations: 189.5 kB / 0.5921 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.4578, allocations: 46.73 kB / 0.5922 GB, free: 33.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.416e-06/0.4578, allocations: 0.9375 kB / 0.5922 GB, free: 33.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009701/0.4675, allocations: 3.083 MB / 0.5952 GB, free: 33.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.4675, allocations: 95.36 kB / 0.5953 GB, free: 33.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007296/0.4683, allocations: 465.4 kB / 0.5957 GB, free: 33.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/0.4683, allocations: 47.11 kB / 0.5958 GB, free: 33.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.4687, allocations: 483.2 kB / 0.5962 GB, free: 32.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.469, allocations: 441.4 kB / 0.5967 GB, free: 32.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.4695, allocations: 220.2 kB / 0.5969 GB, free: 32.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.4696, allocations: 384.2 kB / 0.5972 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008797/0.4705, allocations: 459.9 kB / 0.5977 GB, free: 32.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.4715, allocations: 0.6896 MB / 0.5984 GB, free: 32.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.4734, allocations: 1.205 MB / 0.5995 GB, free: 31.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.4734, allocations: 2.531 kB / 0.5995 GB, free: 31.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003115/0.4765, allocations: 1.58 MB / 0.6011 GB, free: 30.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.4766, allocations: 9.391 kB / 0.6011 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.4766, allocations: 12.62 kB / 0.6011 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.4783, allocations: 0.5248 MB / 0.6016 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.4792, allocations: 194 kB / 0.6018 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002007/0.4794, allocations: 55.23 kB / 0.6018 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/0.48, allocations: 127.6 kB / 0.602 GB, free: 30.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.674e-05/0.4801, allocations: 48.56 kB / 0.602 GB, free: 30.41 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.0004595/0.4806, allocations: 269.5 kB / 0.6023 GB, free: 30.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.4808, allocations: 86.72 kB / 0.6024 GB, free: 30.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/0.4835, allocations: 1.543 MB / 0.6039 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.4835, allocations: 13.12 kB / 0.6039 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4835, allocations: 2.359 kB / 0.6039 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.4835, allocations: 6.094 kB / 0.6039 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.4882, allocations: 2.852 MB / 0.6067 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.4882, allocations: 1.219 kB / 0.6067 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.4888, allocations: 145.6 kB / 0.6068 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/0.4904, allocations: 0.5205 MB / 0.6073 GB, free: 27.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/0.4904, allocations: 34.08 kB / 0.6073 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00031/0.4908, allocations: 62.05 kB / 0.6074 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4908, allocations: 0.875 kB / 0.6074 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/0.4944, allocations: 2.317 MB / 0.6097 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.4949, allocations: 286.7 kB / 0.6099 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.495, allocations: 22.55 kB / 0.61 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.4956, allocations: 47.34 kB / 0.61 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.4958, allocations: 88.14 kB / 0.6101 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/0.4959, allocations: 35.31 kB / 0.6101 GB, free: 26.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000358/0.4962, allocations: 310 kB / 0.6104 GB, free: 26.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4962, allocations: 0 / 0.6104 GB, free: 26.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001069/0.4973, allocations: 346.3 kB / 0.6108 GB, free: 26.13 MB / 446.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.004033/0.5013, allocations: 2.923 MB / 0.6136 GB, free: 24.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002901/0.5042, allocations: 1.274 MB / 0.6149 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.5042, allocations: 1.469 kB / 0.6149 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.5059, allocations: 0.6892 MB / 0.6155 GB, free: 23.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.5066, allocations: 98.27 kB / 0.6156 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5178, allocations: 8.377 MB / 0.6238 GB, free: 18.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.5182, allocations: 1.051 MB / 0.6248 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00039/0.5186, allocations: 111.4 kB / 0.6249 GB, free: 18.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.519, allocations: 394 kB / 0.6253 GB, free: 17.88 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.519, allocations: 0 / 0.6253 GB, free: 17.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09973/0.6187, allocations: 22.13 MB / 0.6469 GB, free: 13.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.12/15.74, allocations: 7.938 kB / 0.6469 GB, free: 13.9 MB / 462.1 MB " [Timeout remaining time 644] (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: 19.01488122995943] Failed to read output from testmodel.py, exit status != 0: ['time', 'I.re', 'I.im'] 15.85464950883761 15.870766292 15.697595034 Calling exit ...