Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.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.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD",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.005285/0.005286, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.001413/0.001413, allocations: 192.3 kB / 16.67 MB, free: 5.918 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.01595/0.01595, allocations: 1.331 MB / 291.9 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002517/0.002517, allocations: 71.25 kB / 405.8 MB, free: 8.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1093, allocations: 49.74 MB / 455.5 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD): time 0.003039/0.1124, allocations: 1.663 MB / 457.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009686/0.1134, allocations: 0.5338 MB / 457.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.1135, allocations: 0 / 457.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.1136, allocations: 23.8 kB / 457.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.326e-05/0.1137, allocations: 23.72 kB / 457.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.114, allocations: 87.88 kB / 457.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.1142, allocations: 135.4 kB / 458 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1143, allocations: 37.11 kB / 458 MB, free: 15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.1144, allocations: 39.8 kB / 458.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.88e-05/0.1145, allocations: 47.72 kB / 458.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1145, allocations: 8 kB / 458.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.1145, allocations: 12 kB / 458.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.1146, allocations: 27.91 kB / 458.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.1147, allocations: 55.67 kB / 458.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.1148, allocations: 107.8 kB / 458.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1149, allocations: 4 kB / 458.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1149, allocations: 0 / 458.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1149, allocations: 3.938 kB / 458.3 MB, free: 14.7 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006739/0.1156, allocations: 422.9 kB / 458.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1156, allocations: 11.97 kB / 458.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.1157, allocations: 42.75 kB / 458.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.1157, allocations: 12.84 kB / 458.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1159, allocations: 211.1 kB / 459 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.116, allocations: 8.375 kB / 459 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.116, allocations: 12.38 kB / 459 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1162, allocations: 106.9 kB / 459.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1162, allocations: 0 / 459.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1162, allocations: 3.984 kB / 459.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1162, allocations: 8 kB / 459.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1164, allocations: 35.92 kB / 459.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.1171, allocations: 0.5478 MB / 459.7 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.1172, allocations: 54.5 kB / 459.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/0.1173, allocations: 16.89 kB / 459.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1173, allocations: 4.031 kB / 459.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.1173, allocations: 34.56 kB / 459.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.1173, allocations: 0 / 459.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001963/0.1175, allocations: 77.53 kB / 459.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.1176, allocations: 55.41 kB / 460 MB, free: 12.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.1178, allocations: 183.1 kB / 460.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.1178, allocations: 25.7 kB / 460.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.1179, allocations: 116 kB / 460.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1179, allocations: 15.86 kB / 460.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.118, allocations: 37.7 kB / 460.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1181, allocations: 318.8 kB / 460.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.1182, allocations: 23.98 kB / 460.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.1183, allocations: 58.23 kB / 460.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1184, allocations: 67.38 kB / 460.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1184, allocations: 0 / 460.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001976/0.1186, allocations: 129.5 kB / 460.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.1186, allocations: 7.938 kB / 460.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1186, allocations: 4 kB / 460.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1187, allocations: 0 / 460.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1188, allocations: 35.92 kB / 461 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1188, allocations: 0 / 461 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.02e-05/0.1189, allocations: 19.84 kB / 461 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1189, allocations: 4 kB / 461 MB, free: 11.77 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 (15): * Single equations (assignments): 15 * 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 0.00014/0.119, allocations: 117.8 kB / 461.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1191, allocations: 19.92 kB / 461.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.1191, allocations: 12.92 kB / 461.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1191, allocations: 0 / 461.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1191, allocations: 4 kB / 461.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1192, allocations: 3.938 kB / 461.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.1196, allocations: 355.2 kB / 461.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1196, allocations: 0 / 461.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.1198, allocations: 23.92 kB / 461.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1198, allocations: 8.031 kB / 461.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1198, allocations: 0 / 461.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.121, allocations: 1.405 MB / 462.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.121, allocations: 7.875 kB / 462.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1212, allocations: 176.3 kB / 463.1 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.1213, allocations: 93.08 kB / 463.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1213, allocations: 4.156 kB / 463.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.1214, allocations: 3.938 kB / 463.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.1214, allocations: 4 kB / 463.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1215, allocations: 4 kB / 463.2 MB, free: 9.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1216, allocations: 128.3 kB / 463.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1216, allocations: 0 / 463.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1218, allocations: 24 kB / 463.4 MB, free: 9.145 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 (4): * Single equations (assignments): 3 * 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.0005909/0.1224, allocations: 0.7249 MB / 464.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1226, allocations: 51.92 kB / 464.1 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1226, allocations: 4 kB / 464.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.1228, allocations: 28.23 kB / 464.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.1232, allocations: 40.61 kB / 464.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.1252, allocations: 1.73 MB / 465.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.1256, allocations: 0.7117 MB / 466.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.1256, allocations: 9.062 kB / 466.7 MB, free: 5.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.1257, allocations: 43.36 kB / 466.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1257, allocations: 0 / 466.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.1524, allocations: 2.862 MB / 469.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.096, allocations: 5.156 kB / 469.6 MB, free: 2.977 MB / 334.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.sim & python3 -m fmpy simulate --output-file BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_SteadyState_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.SteadyState_ON_FWD.pipe 2>&1)