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.001677/0.001677, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.002126/0.002126, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.58/1.58, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2228/0.2228, allocations: 43.52 MB / 314.1 MB, free: 476 kB / 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.00165/0.00165, allocations: 71.91 kB / 441.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1327, allocations: 57.78 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.00552/0.1383, allocations: 3.433 MB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.1403, allocations: 0.8225 MB / 0.4915 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1405, allocations: 8 kB / 0.4915 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1408, allocations: 83.22 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1411, allocations: 126.8 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.1416, allocations: 127.8 kB / 0.4919 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005341/0.1421, allocations: 0.5179 MB / 0.4924 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.1425, allocations: 245.8 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002707/0.1428, allocations: 207.3 kB / 0.4928 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.1431, allocations: 238.9 kB / 0.493 GB, free: 6.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.1432, allocations: 48 kB / 0.4931 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.328e-05/0.1433, allocations: 56 kB / 0.4931 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.351e-05/0.1434, allocations: 107.6 kB / 0.4932 GB, free: 6.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.1437, allocations: 246.9 kB / 0.4935 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005795/0.1442, allocations: 0.5566 MB / 0.494 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1443, allocations: 0 / 0.494 GB, free: 5.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1443, allocations: 0 / 0.494 GB, free: 5.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1443, allocations: 0 / 0.494 GB, free: 5.508 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.001316/0.1456, allocations: 0.7675 MB / 0.4948 GB, free: 4.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1456, allocations: 11.89 kB / 0.4948 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.181e-05/0.1457, allocations: 86.7 kB / 0.4949 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.1458, allocations: 48.38 kB / 0.4949 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.1463, allocations: 329.3 kB / 0.4952 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.1464, allocations: 41.31 kB / 0.4953 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.1465, allocations: 48.38 kB / 0.4953 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008199/0.1473, allocations: 467.1 kB / 0.4957 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1473, allocations: 0 / 0.4957 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.1474, allocations: 24 kB / 0.4958 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1474, allocations: 12 kB / 0.4958 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/0.1481, allocations: 319.8 kB / 0.4961 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.1506, allocations: 1.674 MB / 0.4977 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/0.1511, allocations: 237 kB / 0.4979 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.1514, allocations: 141.8 kB / 0.4981 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1515, allocations: 11.92 kB / 0.4981 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1515, allocations: 34.56 kB / 0.4981 GB, free: 1.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.1515, allocations: 0 / 0.4981 GB, free: 1.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.003023/0.1546, allocations: 1.34 MB / 0.4994 GB, free: 15.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.1546, allocations: 81.11 kB / 0.4995 GB, free: 15.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.1549, allocations: 262.5 kB / 0.4998 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.1549, allocations: 29.7 kB / 0.4998 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.1551, allocations: 251.4 kB / 0.5 GB, free: 14.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.1552, allocations: 126.3 kB / 0.5001 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1553, allocations: 81.97 kB / 0.5002 GB, free: 14.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1555, allocations: 346.8 kB / 0.5006 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.1558, allocations: 108.8 kB / 0.5007 GB, free: 14.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.1561, allocations: 216.3 kB / 0.5009 GB, free: 14.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.1567, allocations: 331.8 kB / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1567, allocations: 0 / 0.5012 GB, free: 13.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008054/0.1575, allocations: 425.9 kB / 0.5016 GB, free: 13.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1576, allocations: 4 kB / 0.5016 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1576, allocations: 4 kB / 0.5016 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.1577, allocations: 32.78 kB / 0.5016 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.1582, allocations: 119.9 kB / 0.5017 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.1595, allocations: 1.45 MB / 0.5032 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.1597, allocations: 20.05 kB / 0.5032 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.1598, allocations: 20 kB / 0.5032 GB, free: 11.42 MB / 398.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.0001833/0.16, allocations: 165.7 kB / 0.5034 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.16, allocations: 31.62 kB / 0.5034 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.1601, allocations: 42.11 kB / 0.5034 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1601, allocations: 4 kB / 0.5034 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1601, allocations: 0 / 0.5034 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1601, allocations: 0 / 0.5034 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1612, allocations: 0.719 MB / 0.5041 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1612, allocations: 0 / 0.5041 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.1617, allocations: 91.88 kB / 0.5042 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.668e-05/0.1618, allocations: 32.84 kB / 0.5042 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1618, allocations: 12 kB / 0.5043 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009596/0.1628, allocations: 1.422 MB / 0.5056 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1628, allocations: 144 / 0.5056 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009423/0.1637, allocations: 0.6086 MB / 0.5062 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1638, allocations: 124.8 kB / 0.5064 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.1639, allocations: 11.98 kB / 0.5064 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.1642, allocations: 19.92 kB / 0.5064 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.1642, allocations: 27.97 kB / 0.5064 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1642, allocations: 12 kB / 0.5064 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.1644, allocations: 178 kB / 0.5066 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1644, allocations: 3.938 kB / 0.5066 GB, free: 7.672 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004349/0.1649, allocations: 92 kB / 0.5067 GB, free: 7.582 MB / 398.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.001253/0.1661, allocations: 1.151 MB / 0.5078 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007957/0.1669, allocations: 409.9 kB / 0.5082 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1669, allocations: 0 / 0.5082 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.1674, allocations: 262.1 kB / 0.5085 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004533/0.1679, allocations: 36.41 kB / 0.5085 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.1725, allocations: 3.458 MB / 0.5119 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.1729, allocations: 0.8267 MB / 0.5127 GB, free: 1.184 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.173, allocations: 30.97 kB / 0.5127 GB, free: 1.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.1732, allocations: 139.4 kB / 0.5128 GB, free: 1.016 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1732, allocations: 4 kB / 0.5128 GB, free: 1.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.2027, allocations: 6.528 MB / 0.5192 GB, free: 10.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.25, allocations: 8.047 kB / 0.5192 GB, free: 10.47 MB / 414.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)