Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_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.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_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.005671/0.005671, allocations: 96.31 kB / 15.73 MB, free: 6.059 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.001353/0.001353, allocations: 198.9 kB / 16.68 MB, free: 5.98 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.007987/0.007987, allocations: 1.33 MB / 291.9 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 64.08 kB / 405.8 MB, free: 8.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.106, allocations: 49.75 MB / 455.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD): time 0.00328/0.1093, allocations: 1.776 MB / 457.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.1104, allocations: 0.5455 MB / 457.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.782e-05/0.1105, allocations: 0 / 457.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001197/0.1106, allocations: 19.8 kB / 457.9 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.072e-05/0.1107, allocations: 35.69 kB / 457.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1109, allocations: 91.83 kB / 458 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1112, allocations: 155.4 kB / 458.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.1113, allocations: 53.52 kB / 458.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.1114, allocations: 47.78 kB / 458.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.1115, allocations: 59.66 kB / 458.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.1115, allocations: 12 kB / 458.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.479e-05/0.1116, allocations: 8 kB / 458.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.1116, allocations: 27.92 kB / 458.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.015e-05/0.1117, allocations: 67.59 kB / 458.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1119, allocations: 135.6 kB / 458.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1119, allocations: 0 / 458.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1119, allocations: 0 / 458.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1119, allocations: 3.938 kB / 458.6 MB, free: 14.49 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.0006945/0.1126, allocations: 454.7 kB / 459 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1127, allocations: 12.03 kB / 459 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.1127, allocations: 42.73 kB / 459.1 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.1128, allocations: 16.84 kB / 459.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.113, allocations: 210.7 kB / 459.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.113, allocations: 8.375 kB / 459.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1131, allocations: 12.38 kB / 459.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1133, allocations: 115.5 kB / 459.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1134, allocations: 0 / 459.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1134, allocations: 12 kB / 459.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1134, allocations: 0 / 459.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.1136, allocations: 67.89 kB / 459.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.1144, allocations: 0.5044 MB / 460 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.1146, allocations: 70.55 kB / 460.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1147, allocations: 32.97 kB / 460.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.1148, allocations: 3.938 kB / 460.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.1148, allocations: 42.5 kB / 460.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 3.227e-06/0.1148, allocations: 3.984 kB / 460.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004128/0.1152, allocations: 129.5 kB / 460.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1153, allocations: 51.41 kB / 460.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1155, allocations: 174.9 kB / 460.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1155, allocations: 25.7 kB / 460.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.1156, allocations: 116 kB / 460.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1156, allocations: 27.8 kB / 460.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.1157, allocations: 29.7 kB / 460.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1159, allocations: 322.8 kB / 461 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.116, allocations: 35.97 kB / 461.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1161, allocations: 58.48 kB / 461.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.1164, allocations: 90.55 kB / 461.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.1164, allocations: 3.984 kB / 461.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003439/0.1167, allocations: 133.4 kB / 461.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1167, allocations: 7.938 kB / 461.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1168, allocations: 4.062 kB / 461.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1168, allocations: 4 kB / 461.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.117, allocations: 32.16 kB / 461.4 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.117, allocations: 4 kB / 461.4 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.1171, allocations: 15.95 kB / 461.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1171, allocations: 4 kB / 461.4 MB, free: 11.4 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 13 * 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.0001119/0.1172, allocations: 121.8 kB / 461.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.1172, allocations: 15.89 kB / 461.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.1173, allocations: 13.41 kB / 461.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1173, allocations: 7.938 kB / 461.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1173, allocations: 0 / 461.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1173, allocations: 0 / 461.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.1179, allocations: 411.1 kB / 462 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1179, allocations: 0 / 462 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.1181, allocations: 39.94 kB / 462 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1181, allocations: 0 / 462 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1182, allocations: 4 kB / 462 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.1193, allocations: 1.393 MB / 463.4 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1194, allocations: 4.031 kB / 463.4 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.1198, allocations: 240.3 kB / 463.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.1199, allocations: 93.08 kB / 463.7 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.1199, allocations: 4 kB / 463.7 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.12, allocations: 16.05 kB / 463.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1201, allocations: 4 kB / 463.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1201, allocations: 4 kB / 463.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1202, allocations: 120.3 kB / 463.9 MB, free: 8.691 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1202, allocations: 4.062 kB / 463.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1205, allocations: 27.95 kB / 463.9 MB, free: 8.66 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.0007933/0.1213, allocations: 0.7834 MB / 464.7 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002907/0.1216, allocations: 79.83 kB / 464.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1216, allocations: 0 / 464.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.1218, allocations: 51.89 kB / 464.8 MB, free: 7.719 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1223, allocations: 43.11 kB / 464.9 MB, free: 7.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.1248, allocations: 1.804 MB / 466.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.1252, allocations: 0.708 MB / 467.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.38e-05/0.1252, allocations: 16.81 kB / 467.4 MB, free: 5.023 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.1253, allocations: 39.42 kB / 467.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1253, allocations: 0 / 467.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.1537, allocations: 3.153 MB / 470.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.929/8.082, allocations: 12.12 kB / 470.6 MB, free: 2.008 MB / 334.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_OL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_FWD.pipe 2>&1)