Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 110.1 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002245/0.002246, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.1 MB / 227.9 MB, free: 4.355 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4287/0.4287, allocations: 43.51 MB / 320.8 MB, free: 9.012 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002308, allocations: 67.91 kB / 450 MB, free: 11.12 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3325, allocations: 57.79 MB / 0.4959 GB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004785/0.3373, allocations: 3.422 MB / 0.4992 GB, free: 16.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.339, allocations: 0.8307 MB / 0.5 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.3393, allocations: 8.875 kB / 0.5 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.3395, allocations: 74.33 kB / 0.5001 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.3398, allocations: 132.8 kB / 0.5002 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.3402, allocations: 127.1 kB / 0.5004 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005519/0.3407, allocations: 0.5197 MB / 0.5009 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.3411, allocations: 249.6 kB / 0.5011 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.3414, allocations: 207.4 kB / 0.5013 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3417, allocations: 234.8 kB / 0.5015 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.425e-05/0.3418, allocations: 49.75 kB / 0.5016 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.782e-05/0.3419, allocations: 52.69 kB / 0.5016 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.884e-05/0.342, allocations: 104.1 kB / 0.5017 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002539/0.3423, allocations: 256.2 kB / 0.502 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.3429, allocations: 0.5575 MB / 0.5025 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3429, allocations: 0 / 0.5025 GB, free: 14.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.343, allocations: 0 / 0.5025 GB, free: 14.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.343, allocations: 0 / 0.5025 GB, free: 14.37 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001428/0.3444, allocations: 0.7711 MB / 0.5033 GB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.3445, allocations: 13.39 kB / 0.5033 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.85e-05/0.3446, allocations: 86.11 kB / 0.5034 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.3447, allocations: 50.31 kB / 0.5034 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.3452, allocations: 332.8 kB / 0.5037 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.3453, allocations: 36.94 kB / 0.5038 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.757e-05/0.3454, allocations: 42 kB / 0.5038 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/0.3462, allocations: 472.2 kB / 0.5043 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3462, allocations: 1.469 kB / 0.5043 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.3463, allocations: 20.38 kB / 0.5043 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.3463, allocations: 10.62 kB / 0.5043 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.347, allocations: 319.8 kB / 0.5046 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.3493, allocations: 1.687 MB / 0.5062 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005796/0.3498, allocations: 235.5 kB / 0.5065 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.3502, allocations: 135.4 kB / 0.5066 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.3502, allocations: 6.219 kB / 0.5066 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.3503, allocations: 37.88 kB / 0.5066 GB, free: 11.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.3503, allocations: 0 / 0.5066 GB, free: 11.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00297/0.3533, allocations: 1.356 MB / 0.508 GB, free: 10.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.3533, allocations: 84.36 kB / 0.508 GB, free: 9.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.3536, allocations: 262.4 kB / 0.5083 GB, free: 9.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3536, allocations: 32.08 kB / 0.5083 GB, free: 9.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3537, allocations: 264.3 kB / 0.5086 GB, free: 9.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.3538, allocations: 122 kB / 0.5087 GB, free: 9.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3539, allocations: 82.52 kB / 0.5088 GB, free: 9.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.354, allocations: 340.5 kB / 0.5091 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.3543, allocations: 113.9 kB / 0.5092 GB, free: 8.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.3546, allocations: 212.2 kB / 0.5094 GB, free: 8.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/0.3553, allocations: 341.4 kB / 0.5097 GB, free: 8.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3554, allocations: 1.406 kB / 0.5097 GB, free: 8.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009031/0.3563, allocations: 418.4 kB / 0.5101 GB, free: 8.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.3563, allocations: 7.219 kB / 0.5101 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3563, allocations: 6.75 kB / 0.5101 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001793/0.3565, allocations: 37.28 kB / 0.5102 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.357, allocations: 119.9 kB / 0.5103 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.3581, allocations: 1.438 MB / 0.5117 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.3584, allocations: 16.23 kB / 0.5117 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.3584, allocations: 16.38 kB / 0.5117 GB, free: 6.781 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.3586, allocations: 174.5 kB / 0.5119 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.3587, allocations: 29.56 kB / 0.5119 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.3588, allocations: 41.05 kB / 0.512 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3588, allocations: 4.125 kB / 0.512 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.3588, allocations: 5.312 kB / 0.512 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.3588, allocations: 3.984 kB / 0.512 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.3598, allocations: 0.7086 MB / 0.5127 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3599, allocations: 1.312 kB / 0.5127 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.3603, allocations: 90.09 kB / 0.5128 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.424e-05/0.3604, allocations: 37.92 kB / 0.5128 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3604, allocations: 6.656 kB / 0.5128 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007298/0.3611, allocations: 1.423 MB / 0.5142 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.3612, allocations: 13.34 kB / 0.5142 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00096/0.3621, allocations: 0.6132 MB / 0.5148 GB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3622, allocations: 131.8 kB / 0.5149 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.3623, allocations: 6.75 kB / 0.5149 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.3626, allocations: 22.92 kB / 0.515 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.3627, allocations: 22.97 kB / 0.515 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3627, allocations: 14.88 kB / 0.515 GB, free: 3.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.3629, allocations: 187.4 kB / 0.5152 GB, free: 3.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3629, allocations: 1.562 kB / 0.5152 GB, free: 3.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005489/0.3634, allocations: 92.09 kB / 0.5153 GB, free: 3.699 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/0.3647, allocations: 1.143 MB / 0.5164 GB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.3658, allocations: 408.8 kB / 0.5168 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3658, allocations: 0 / 0.5168 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.3662, allocations: 253 kB / 0.517 GB, free: 2.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3666, allocations: 47.81 kB / 0.5171 GB, free: 2.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.3714, allocations: 3.478 MB / 0.5205 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.3721, allocations: 0.8144 MB / 0.5212 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.3722, allocations: 31.66 kB / 0.5213 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.3725, allocations: 145.7 kB / 0.5214 GB, free: 14.74 MB / 398.1 MB Notification: Performance of SimCode: time 3.616e-06/0.3725, allocations: 0 / 0.5214 GB, free: 14.74 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03775/0.4103, allocations: 6.441 MB / 0.5277 GB, free: 8.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.84, allocations: 0 / 0.5277 GB, free: 8.43 MB / 398.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.893183993874118] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter.Phi', 'converter.i', 'converter1.i', 'eddyCurrent.Phi', 'leakageWithCoefficient.port_p.Phi'] 10.928455285960808 10.953032143 10.604923827 Calling exit ...