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.001088/0.001088, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 202.7 kB / 16.79 MB, free: 6.84 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.268/1.268, allocations: 205.1 MB / 222.6 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3182/0.3182, allocations: 43.49 MB / 313.5 MB, free: 8.562 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.001307/0.001307, allocations: 64.47 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1167, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004335/0.121, allocations: 3.45 MB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1222, allocations: 0.8304 MB / 444.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.1224, allocations: 11.94 kB / 444.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1225, allocations: 51.59 kB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1228, allocations: 107.2 kB / 444.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1231, allocations: 107.8 kB / 444.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.1235, allocations: 0.4945 MB / 445 MB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.1238, allocations: 211 kB / 445.2 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.124, allocations: 199.2 kB / 445.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.1242, allocations: 223 kB / 445.6 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.1243, allocations: 36 kB / 445.6 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.557e-05/0.1244, allocations: 32 kB / 445.6 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.48e-05/0.1245, allocations: 103.6 kB / 445.7 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.1247, allocations: 230.8 kB / 446 MB, free: 8.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.1251, allocations: 0.5409 MB / 446.5 MB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1251, allocations: 4 kB / 446.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1251, allocations: 0 / 446.5 MB, free: 8.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1251, allocations: 0 / 446.5 MB, free: 8.098 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.001213/0.1263, allocations: 0.7603 MB / 447.3 MB, free: 7.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1264, allocations: 8.031 kB / 447.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.7e-05/0.1265, allocations: 90.7 kB / 447.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.1266, allocations: 48.38 kB / 447.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.1269, allocations: 317.3 kB / 447.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.127, allocations: 33.38 kB / 447.8 MB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.819e-05/0.1271, allocations: 48.38 kB / 447.8 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007631/0.1278, allocations: 467.1 kB / 448.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1278, allocations: 0 / 448.3 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.1279, allocations: 19.98 kB / 448.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.1279, allocations: 12 kB / 448.3 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.1286, allocations: 327.8 kB / 448.6 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.1309, allocations: 1.689 MB / 450.3 MB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.1314, allocations: 237 kB / 450.5 MB, free: 3.828 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003054/0.1317, allocations: 137.7 kB / 450.7 MB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1318, allocations: 4.453 kB / 450.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.1318, allocations: 46.5 kB / 450.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.302e-06/0.1318, allocations: 0 / 450.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002767/0.1346, allocations: 1.337 MB / 452.1 MB, free: 2.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.1346, allocations: 81.11 kB / 452.1 MB, free: 2.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.1349, allocations: 262.5 kB / 452.4 MB, free: 1.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1349, allocations: 33.7 kB / 452.4 MB, free: 1.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.1351, allocations: 259.4 kB / 452.7 MB, free: 1.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.304e-05/0.1352, allocations: 126.2 kB / 452.8 MB, free: 1.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.1353, allocations: 74.05 kB / 452.9 MB, free: 1.309 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1354, allocations: 346.7 kB / 453.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1357, allocations: 104.8 kB / 453.3 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.136, allocations: 224.2 kB / 453.5 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.1366, allocations: 339.7 kB / 453.9 MB, free: 228 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1366, allocations: 0 / 453.9 MB, free: 228 kB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.2159/0.3526, allocations: 413.1 kB / 454.3 MB, free: 48.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3526, allocations: 6.469 kB / 454.3 MB, free: 48.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3526, allocations: 5.844 kB / 454.3 MB, free: 48.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.3528, allocations: 34.8 kB / 454.3 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.3533, allocations: 119.9 kB / 454.4 MB, free: 48.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008558/0.3542, allocations: 1.335 MB / 455.8 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.3545, allocations: 20.72 kB / 455.8 MB, free: 47.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.3546, allocations: 20.22 kB / 455.8 MB, free: 47.22 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.0001956/0.3548, allocations: 164.2 kB / 456 MB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/0.3548, allocations: 25.22 kB / 456 MB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.3549, allocations: 35.89 kB / 456 MB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3549, allocations: 8.859 kB / 456 MB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3549, allocations: 0 / 456 MB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.355, allocations: 3.234 kB / 456 MB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009921/0.356, allocations: 0.7146 MB / 456.8 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.356, allocations: 3.656 kB / 456.8 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.3564, allocations: 94.91 kB / 456.9 MB, free: 46.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.616e-05/0.3565, allocations: 31.38 kB / 456.9 MB, free: 46.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3565, allocations: 6.625 kB / 456.9 MB, free: 46.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005587/0.357, allocations: 1.326 MB / 458.2 MB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3571, allocations: 3.875 kB / 458.2 MB, free: 45.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.3579, allocations: 0.6039 MB / 458.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.358, allocations: 118.5 kB / 458.9 MB, free: 45.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.3581, allocations: 10.08 kB / 458.9 MB, free: 45.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.3583, allocations: 22.98 kB / 459 MB, free: 45.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.3584, allocations: 26 kB / 459 MB, free: 45.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3584, allocations: 11.5 kB / 459 MB, free: 45.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001373/0.3586, allocations: 185.4 kB / 459.2 MB, free: 45.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3586, allocations: 0 / 459.2 MB, free: 45.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.359, allocations: 96.31 kB / 459.3 MB, free: 45.11 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.001008/0.36, allocations: 1.15 MB / 460.4 MB, free: 44.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006743/0.3607, allocations: 407.4 kB / 460.8 MB, free: 44.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3607, allocations: 0 / 460.8 MB, free: 44.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.361, allocations: 254.2 kB / 461.1 MB, free: 44.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.3615, allocations: 42.25 kB / 461.1 MB, free: 44.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/0.3653, allocations: 3.69 MB / 464.8 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.3655, allocations: 0.8122 MB / 465.6 MB, free: 41.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.3657, allocations: 33.69 kB / 465.7 MB, free: 41.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.3658, allocations: 143.6 kB / 465.8 MB, free: 41.12 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3658, allocations: 0.75 kB / 465.8 MB, free: 41.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.3983, allocations: 6.006 MB / 471.8 MB, free: 40.47 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.3986, allocations: 206.4 kB / 472 MB, free: 40.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.206, allocations: 3.938 kB / 472 MB, free: 40.22 MB / 382.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)