Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD",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.008523/0.008523, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.00155/0.00155, allocations: 194.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008454/0.008454, allocations: 1.332 MB / 291.9 MB, free: 0.9648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 65.48 kB / 406.5 MB, free: 7.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1234, allocations: 49.74 MB / 456.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD): time 0.00442/0.1279, allocations: 1.692 MB / 457.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1294, allocations: 0.5376 MB / 458.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1296, allocations: 0 / 458.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.1298, allocations: 23.8 kB / 458.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.1299, allocations: 23.72 kB / 458.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.1303, allocations: 95.77 kB / 458.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.1306, allocations: 147.5 kB / 458.8 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.1308, allocations: 49.97 kB / 458.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.1309, allocations: 47.78 kB / 458.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1311, allocations: 43.78 kB / 458.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.1311, allocations: 12 kB / 458.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.615e-05/0.1311, allocations: 12 kB / 458.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.1312, allocations: 31.84 kB / 459 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.865e-05/0.1313, allocations: 59.61 kB / 459 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1316, allocations: 119.4 kB / 459.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1316, allocations: 0 / 459.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1316, allocations: 0 / 459.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1316, allocations: 0 / 459.1 MB, free: 13.93 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007559/0.1324, allocations: 442.7 kB / 459.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1324, allocations: 12.03 kB / 459.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.847e-05/0.1325, allocations: 38.94 kB / 459.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.1326, allocations: 20.83 kB / 459.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1329, allocations: 200.2 kB / 459.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.1329, allocations: 8.562 kB / 459.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.133, allocations: 12.12 kB / 459.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.1333, allocations: 114.1 kB / 460 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.1333, allocations: 0 / 460 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.1333, allocations: 4 kB / 460 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1334, allocations: 8 kB / 460 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1335, allocations: 39.98 kB / 460 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009907/0.1345, allocations: 0.4965 MB / 460.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.1347, allocations: 62.55 kB / 460.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.1348, allocations: 24.98 kB / 460.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1348, allocations: 0 / 460.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.1349, allocations: 34.56 kB / 460.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1349, allocations: 0 / 460.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003097/0.1352, allocations: 97.69 kB / 460.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.1352, allocations: 51.41 kB / 460.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1355, allocations: 169.2 kB / 460.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1355, allocations: 25.7 kB / 461 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1356, allocations: 123.9 kB / 461.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1357, allocations: 19.84 kB / 461.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.255e-05/0.1357, allocations: 29.72 kB / 461.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1359, allocations: 326.7 kB / 461.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.136, allocations: 27.92 kB / 461.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.681e-05/0.1361, allocations: 47.42 kB / 461.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1362, allocations: 71.38 kB / 461.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1363, allocations: 0 / 461.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002491/0.1365, allocations: 101.5 kB / 461.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1365, allocations: 8.094 kB / 461.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1366, allocations: 0 / 461.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1366, allocations: 4 kB / 461.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.137, allocations: 43.91 kB / 461.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.1385, allocations: 1.408 MB / 463.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.1386, allocations: 11.92 kB / 463.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1386, allocations: 0 / 463.2 MB, free: 9.484 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.1388, allocations: 129 kB / 463.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.1388, allocations: 11.89 kB / 463.3 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.1389, allocations: 13.41 kB / 463.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1389, allocations: 256 / 463.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.1389, allocations: 0 / 463.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1389, allocations: 7.984 kB / 463.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.1395, allocations: 375.2 kB / 463.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1396, allocations: 0 / 463.7 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.1399, allocations: 40 kB / 463.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1399, allocations: 0 / 463.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.1399, allocations: 0 / 463.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.1413, allocations: 1.408 MB / 465.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.1413, allocations: 0 / 465.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.1416, allocations: 204.5 kB / 465.3 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1417, allocations: 96.95 kB / 465.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1417, allocations: 4 kB / 465.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1419, allocations: 7.938 kB / 465.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.1419, allocations: 4 kB / 465.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1419, allocations: 3.938 kB / 465.5 MB, free: 6.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.1421, allocations: 120 kB / 465.6 MB, free: 6.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1421, allocations: 0 / 465.6 MB, free: 6.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004257/0.1425, allocations: 27.95 kB / 465.6 MB, free: 6.809 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (tank.l) * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00073/0.1432, allocations: 0.7413 MB / 466.3 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003426/0.1436, allocations: 71.86 kB / 466.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1436, allocations: 256 / 466.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1438, allocations: 31.98 kB / 466.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006353/0.1444, allocations: 46.03 kB / 466.5 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.1472, allocations: 1.723 MB / 468.2 MB, free: 4.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.1477, allocations: 0.7117 MB / 468.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.382e-05/0.1478, allocations: 8.938 kB / 468.9 MB, free: 3.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1479, allocations: 45.25 kB / 469 MB, free: 3.281 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1479, allocations: 0 / 469 MB, free: 3.281 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.1789, allocations: 2.941 MB / 471.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.886/8.065, allocations: 18.14 kB / 471.9 MB, free: 0.5156 MB / 334.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)