Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) 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: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2020,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006345/0.006345, allocations: 99.7 kB / 15.73 MB, free: 6.469 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.001293/0.001292, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.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.001126/0.001126, allocations: 57.88 kB / 326.5 MB, free: 14.51 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1134, allocations: 46.62 MB / 373.1 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002734/0.1161, allocations: 1.493 MB / 374.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009137/0.1171, allocations: 0.546 MB / 375.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.1171, allocations: 0 / 375.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1173, allocations: 19.86 kB / 375.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.1174, allocations: 7.875 kB / 375.2 MB, free: 15.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001681/0.1175, allocations: 39.91 kB / 375.2 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1177, allocations: 55.83 kB / 375.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1178, allocations: 16 kB / 375.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.1179, allocations: 35.84 kB / 375.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.186e-05/0.118, allocations: 31.91 kB / 375.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.118, allocations: 7.938 kB / 375.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.1181, allocations: 12 kB / 375.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.1181, allocations: 15.98 kB / 375.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.1182, allocations: 23.86 kB / 375.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1183, allocations: 79.59 kB / 375.5 MB, free: 15.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.1183, allocations: 4 kB / 375.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1184, allocations: 0 / 375.5 MB, free: 15.06 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1184, allocations: 0 / 375.5 MB, free: 15.06 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000699/0.1191, allocations: 375.4 kB / 375.9 MB, free: 14.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.1191, allocations: 12.03 kB / 375.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.1192, allocations: 8.844 kB / 375.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1193, allocations: 168.3 kB / 376.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.1193, allocations: 8.375 kB / 376.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1194, allocations: 4.375 kB / 376.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.1196, allocations: 93.89 kB / 376.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1197, allocations: 0 / 376.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1197, allocations: 3.938 kB / 376.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1197, allocations: 0 / 376.2 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.12, allocations: 75.92 kB / 376.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.1204, allocations: 320.6 kB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.1207, allocations: 74.52 kB / 376.6 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1209, allocations: 40.95 kB / 376.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1209, allocations: 7.984 kB / 376.7 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1209, allocations: 34.56 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1209, allocations: 0 / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005573/0.1215, allocations: 149.6 kB / 376.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1215, allocations: 55.41 kB / 376.9 MB, free: 13.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.745e-05/0.1216, allocations: 117.8 kB / 377 MB, free: 13.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1216, allocations: 25.7 kB / 377.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.1217, allocations: 92.03 kB / 377.1 MB, free: 13.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1217, allocations: 19.75 kB / 377.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1218, allocations: 17.7 kB / 377.2 MB, free: 13.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1219, allocations: 318.8 kB / 377.5 MB, free: 12.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.1221, allocations: 39.95 kB / 377.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1222, allocations: 35.97 kB / 377.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.1225, allocations: 80.78 kB / 377.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1225, allocations: 3.938 kB / 377.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003394/0.1229, allocations: 114 kB / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1229, allocations: 8 kB / 377.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1229, allocations: 0 / 377.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1229, allocations: 0 / 377.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1231, allocations: 23.97 kB / 377.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1231, allocations: 0 / 377.8 MB, free: 12.56 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.1232, allocations: 15.98 kB / 377.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1232, allocations: 4 kB / 377.8 MB, free: 12.54 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/0.1233, allocations: 117.8 kB / 377.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.1233, allocations: 4 kB / 377.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004082/0.1237, allocations: 129.5 kB / 378.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1237, allocations: 4 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1237, allocations: 0 / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1237, allocations: 4 kB / 378.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.1239, allocations: 193.4 kB / 378.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1239, allocations: 0 / 378.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1241, allocations: 19.98 kB / 378.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1241, allocations: 0 / 378.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1241, allocations: 4 kB / 378.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1241, allocations: 0 / 378.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1241, allocations: 0 / 378.3 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.1245, allocations: 227.3 kB / 378.5 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.1245, allocations: 88.95 kB / 378.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.1246, allocations: 0 / 378.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1247, allocations: 15.97 kB / 378.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1247, allocations: 8 kB / 378.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.1247, allocations: 4 kB / 378.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.876e-05/0.1248, allocations: 95.58 kB / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1248, allocations: 0 / 378.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.125, allocations: 11.94 kB / 378.7 MB, free: 11.53 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001173/0.1251, allocations: 95.25 kB / 378.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003809/0.1255, allocations: 95.84 kB / 378.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1255, allocations: 0 / 378.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.1257, allocations: 43.97 kB / 378.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.126, allocations: 11.92 kB / 379 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.1264, allocations: 174.2 kB / 379.1 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.1266, allocations: 0.6885 MB / 379.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.1267, allocations: 3.984 kB / 379.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.1267, allocations: 15.44 kB / 379.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1267, allocations: 0 / 379.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of Templates: time 0.003211/0.1299, allocations: 0.9374 MB / 380.8 MB, free: 9.41 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1)