Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_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.NonInvertibleConfig.SteadyState_OFF_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_OFF_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_OFF_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.006585/0.006585, allocations: 102 kB / 15.73 MB, free: 5.555 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.001681/0.001681, allocations: 193.2 kB / 16.68 MB, free: 5.484 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.00816/0.00816, allocations: 1.33 MB / 291.9 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 64.16 kB / 405.8 MB, free: 8.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09543, allocations: 49.74 MB / 455.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD): time 0.002826/0.09829, allocations: 1.655 MB / 457.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.09918, allocations: 0.5066 MB / 457.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.09926, allocations: 0 / 457.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.09942, allocations: 23.8 kB / 457.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.016e-05/0.09948, allocations: 19.78 kB / 457.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.09971, allocations: 79.89 kB / 457.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.09992, allocations: 131.5 kB / 457.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1, allocations: 41.33 kB / 458 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.1001, allocations: 31.86 kB / 458 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.564e-05/0.1002, allocations: 43.72 kB / 458.1 MB, free: 15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.1002, allocations: 4 kB / 458.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.07e-05/0.1002, allocations: 11.94 kB / 458.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.1003, allocations: 19.92 kB / 458.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.1003, allocations: 43.73 kB / 458.1 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1005, allocations: 91.78 kB / 458.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1005, allocations: 0 / 458.2 MB, free: 14.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.379e-06/0.1005, allocations: 4 kB / 458.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1005, allocations: 0 / 458.2 MB, free: 14.82 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004852/0.101, allocations: 407 kB / 458.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.101, allocations: 11.89 kB / 458.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.995e-05/0.1011, allocations: 42.73 kB / 458.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1012, allocations: 12.84 kB / 458.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1014, allocations: 207.9 kB / 458.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1014, allocations: 4.375 kB / 458.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1014, allocations: 15.89 kB / 458.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1016, allocations: 99 kB / 459 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1016, allocations: 0 / 459 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1016, allocations: 8 kB / 459 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1016, allocations: 3.938 kB / 459 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.192e-05/0.1017, allocations: 27.98 kB / 459.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007061/0.1024, allocations: 0.5243 MB / 459.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.386e-05/0.1025, allocations: 38.5 kB / 459.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.1026, allocations: 16.86 kB / 459.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.1026, allocations: 0 / 459.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1026, allocations: 34.5 kB / 459.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1026, allocations: 4 kB / 459.7 MB, free: 13.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001774/0.1028, allocations: 65.66 kB / 459.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1029, allocations: 51.41 kB / 459.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.103, allocations: 174.3 kB / 460 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1031, allocations: 29.7 kB / 460 MB, free: 12.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.066e-05/0.1031, allocations: 115.9 kB / 460.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.1032, allocations: 3.953 kB / 460.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.1032, allocations: 41.66 kB / 460.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1034, allocations: 326.8 kB / 460.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.282e-05/0.1035, allocations: 24.86 kB / 460.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.1036, allocations: 79.64 kB / 460.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.1037, allocations: 103.6 kB / 460.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1037, allocations: 0 / 460.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002075/0.1039, allocations: 141.4 kB / 460.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.104, allocations: 8 kB / 460.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.104, allocations: 0 / 460.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.104, allocations: 4 kB / 460.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1041, allocations: 35.86 kB / 460.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1041, allocations: 4 kB / 460.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.1042, allocations: 15.89 kB / 460.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.1042, allocations: 4.219 kB / 460.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.667e-05/0.1043, allocations: 116.1 kB / 461 MB, free: 11.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.235e-05/0.1044, allocations: 75.66 kB / 461.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000136/0.1045, allocations: 107.6 kB / 461.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.1046, allocations: 0 / 461.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization_lambda0): time 0.0001963/0.1048, allocations: 141.4 kB / 461.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.1048, allocations: 7.938 kB / 461.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.1048, allocations: 4.125 kB / 461.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.1048, allocations: 7.938 kB / 461.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.198e-05/0.1049, allocations: 27.98 kB / 461.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1049, allocations: 7.938 kB / 461.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.105, allocations: 11.95 kB / 461.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.105, allocations: 4 kB / 461.4 MB, free: 11.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (16): * Single equations (assignments): 16 * 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.0001128/0.1051, allocations: 192.4 kB / 461.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.1051, allocations: 11.89 kB / 461.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.1052, allocations: 8.938 kB / 461.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1052, allocations: 4 kB / 461.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1052, allocations: 0 / 461.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1052, allocations: 3.984 kB / 461.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.1055, allocations: 319.3 kB / 461.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1056, allocations: 0 / 461.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/0.1056, allocations: 16.05 kB / 461.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1056, allocations: 4 kB / 461.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1057, allocations: 0 / 461.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1057, allocations: 3.938 kB / 461.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1057, allocations: 0 / 461.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.1059, allocations: 168.5 kB / 462.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.1059, allocations: 93.11 kB / 462.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.106, allocations: 8.062 kB / 462.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.852e-05/0.106, allocations: 0 / 462.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.106, allocations: 0 / 462.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.106, allocations: 0 / 462.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1062, allocations: 128.2 kB / 462.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1062, allocations: 4 kB / 462.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1065, allocations: 35.95 kB / 462.3 MB, free: 10.23 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 (3): * Single equations (assignments): 3 * 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.0004816/0.107, allocations: 0.7054 MB / 463.1 MB, free: 9.492 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1072, allocations: 104.6 kB / 463.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1072, allocations: 0 / 463.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.031e-05/0.1072, allocations: 16 kB / 463.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.1077, allocations: 49.38 kB / 463.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.1096, allocations: 1.733 MB / 465 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.11, allocations: 0.7007 MB / 465.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.1101, allocations: 16.81 kB / 465.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.1101, allocations: 35.42 kB / 465.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1101, allocations: 0 / 465.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.136, allocations: 2.565 MB / 468.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/7.893, allocations: 12.34 kB / 468.3 MB, free: 4.297 MB / 334.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_OFF_BWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SteadyState_OFF_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SteadyState_OFF_BWD.pipe 2>&1)