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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 106.9 kB / 15.98 MB, free: 5.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 189.8 kB / 16.9 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.215/0.215, allocations: 43.52 MB / 313.6 MB, free: 0.6953 MB / 254.1 MB 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.001968/0.001967, allocations: 73.12 kB / 382.3 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1254, allocations: 57.79 MB / 440.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004088/0.1295, allocations: 3.448 MB / 443.6 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1307, allocations: 0.8191 MB / 444.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.1309, allocations: 8 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.1311, allocations: 55.55 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1313, allocations: 103.2 kB / 444.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1316, allocations: 111.9 kB / 444.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.1319, allocations: 0.514 MB / 445.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000277/0.1322, allocations: 245.8 kB / 445.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1324, allocations: 211.3 kB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.1326, allocations: 230.9 kB / 445.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.158e-05/0.1327, allocations: 52 kB / 445.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.727e-05/0.1327, allocations: 48 kB / 445.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.1328, allocations: 111.6 kB / 446 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.1329, allocations: 254.9 kB / 446.3 MB, free: 1 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.1333, allocations: 0.545 MB / 446.8 MB, free: 464 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1333, allocations: 3.938 kB / 446.8 MB, free: 460 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1333, allocations: 0 / 446.8 MB, free: 460 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1333, allocations: 0 / 446.8 MB, free: 460 kB / 318.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.001131/0.1344, allocations: 0.7603 MB / 447.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1345, allocations: 11.89 kB / 447.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.097e-05/0.1346, allocations: 90.64 kB / 447.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.1347, allocations: 48.38 kB / 447.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1351, allocations: 321.3 kB / 448.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.1351, allocations: 33.38 kB / 448.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.1352, allocations: 56.3 kB / 448.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.136, allocations: 463.1 kB / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.136, allocations: 4 kB / 448.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.136, allocations: 24 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1361, allocations: 8 kB / 448.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.1367, allocations: 323.8 kB / 449 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.1391, allocations: 1.686 MB / 450.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.1396, allocations: 241 kB / 450.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.14, allocations: 137.9 kB / 451 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.14, allocations: 4 kB / 451 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.14, allocations: 38.5 kB / 451.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 3.466e-06/0.14, allocations: 4 kB / 451.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.00279/0.1428, allocations: 1.337 MB / 452.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1429, allocations: 81.11 kB / 452.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1431, allocations: 262.5 kB / 452.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1432, allocations: 37.7 kB / 452.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1433, allocations: 251.4 kB / 453 MB, free: 9.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.33e-05/0.1434, allocations: 122.3 kB / 453.1 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.1435, allocations: 78.03 kB / 453.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1437, allocations: 346.8 kB / 453.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.1439, allocations: 104.8 kB / 453.6 MB, free: 9.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.1443, allocations: 212.3 kB / 453.9 MB, free: 8.953 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/0.1448, allocations: 339.9 kB / 454.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1449, allocations: 0 / 454.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007827/0.1456, allocations: 418.4 kB / 454.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1457, allocations: 8.375 kB / 454.6 MB, free: 8.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.1457, allocations: 11.94 kB / 454.6 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/0.1458, allocations: 36.72 kB / 454.6 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.1463, allocations: 119.9 kB / 454.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.1473, allocations: 1.442 MB / 456.2 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.1476, allocations: 12 kB / 456.2 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.544e-05/0.1476, allocations: 27.98 kB / 456.2 MB, free: 6.359 MB / 334.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.0001695/0.1478, allocations: 165.7 kB / 456.4 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.1478, allocations: 31.62 kB / 456.4 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.748e-05/0.1479, allocations: 38.17 kB / 456.5 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1479, allocations: 4 kB / 456.5 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.1479, allocations: 4 kB / 456.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.148, allocations: 0 / 456.5 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.149, allocations: 0.7154 MB / 457.2 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1491, allocations: 0 / 457.2 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.1495, allocations: 87.94 kB / 457.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.437e-05/0.1496, allocations: 36.78 kB / 457.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.1496, allocations: 8 kB / 457.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.1506, allocations: 1.43 MB / 458.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1506, allocations: 4.031 kB / 458.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009947/0.1516, allocations: 0.6084 MB / 459.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1518, allocations: 120.8 kB / 459.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.1518, allocations: 8 kB / 459.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.1521, allocations: 27.92 kB / 459.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.102e-05/0.1522, allocations: 27.95 kB / 459.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1522, allocations: 4 kB / 459.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1524, allocations: 186 kB / 459.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1524, allocations: 0 / 459.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004199/0.1528, allocations: 92 kB / 459.8 MB, free: 2.52 MB / 334.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.001224/0.154, allocations: 1.155 MB / 461 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008064/0.1548, allocations: 415 kB / 461.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1548, allocations: 0 / 461.4 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.1552, allocations: 266.5 kB / 461.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.1558, allocations: 43.64 kB / 461.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/0.1603, allocations: 3.699 MB / 465.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1607, allocations: 0.8074 MB / 466.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000163/0.1609, allocations: 34.97 kB / 466.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.161, allocations: 143.4 kB / 466.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.161, allocations: 0 / 466.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.1826, allocations: 6.153 MB / 472.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004127/0.1831, allocations: 206.5 kB / 472.7 MB, free: 5.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/3.044, allocations: 0 / 472.7 MB, free: 5.379 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)