Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.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 -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS since it seems broken on HelloWorld Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_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.001486/0.001486, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001482/0.001482, allocations: 191 kB / 16.25 MB, free: 6.629 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008283/0.008283, allocations: 1.329 MB / 291.4 MB, free: 1.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.89 kB / 355.5 MB, free: 14.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2894, allocations: 49.73 MB / 405.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002791/0.2922, allocations: 1.737 MB / 407 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.293, allocations: 0.5219 MB / 407.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.2931, allocations: 6 kB / 407.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.2932, allocations: 12.86 kB / 407.5 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/0.2933, allocations: 15.97 kB / 407.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.2935, allocations: 69.88 kB / 407.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.2937, allocations: 129 kB / 407.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2938, allocations: 45.42 kB / 407.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.2939, allocations: 43.06 kB / 407.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.09e-05/0.2939, allocations: 39.03 kB / 407.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.294, allocations: 8.375 kB / 407.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.294, allocations: 7.656 kB / 407.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.294, allocations: 20.52 kB / 407.9 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.2941, allocations: 43.44 kB / 407.9 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.2942, allocations: 95.44 kB / 408 MB, free: 10.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2942, allocations: 1.844 kB / 408 MB, free: 10.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2942, allocations: 3.938 kB / 408 MB, free: 10.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2942, allocations: 0 / 408 MB, free: 10.41 MB / 286.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.0004287/0.2947, allocations: 418.7 kB / 408.5 MB, free: 10 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2947, allocations: 12.73 kB / 408.5 MB, free: 9.996 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.2948, allocations: 41.38 kB / 408.5 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.2948, allocations: 14.41 kB / 408.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.2949, allocations: 206.7 kB / 408.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.295, allocations: 11.92 kB / 408.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.295, allocations: 10.81 kB / 408.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.2952, allocations: 99.88 kB / 408.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.2952, allocations: 3.984 kB / 408.8 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.2952, allocations: 5.641 kB / 408.9 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2952, allocations: 2.125 kB / 408.9 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-05/0.2953, allocations: 41.53 kB / 408.9 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.2959, allocations: 471.4 kB / 409.4 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.2961, allocations: 51.36 kB / 409.4 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.2962, allocations: 23.47 kB / 409.4 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.2962, allocations: 3.938 kB / 409.4 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2962, allocations: 40.52 kB / 409.5 MB, free: 9.113 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.2962, allocations: 0 / 409.5 MB, free: 9.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002245/0.2965, allocations: 71.22 kB / 409.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.2965, allocations: 56.25 kB / 409.6 MB, free: 9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2966, allocations: 151 kB / 409.7 MB, free: 8.887 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.2967, allocations: 29.7 kB / 409.8 MB, free: 8.852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.2967, allocations: 131.5 kB / 409.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.2968, allocations: 16.08 kB / 409.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.065e-05/0.2968, allocations: 33.28 kB / 409.9 MB, free: 8.691 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.2969, allocations: 319.7 kB / 410.3 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.297, allocations: 21.64 kB / 410.3 MB, free: 8.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.297, allocations: 71.2 kB / 410.4 MB, free: 8.297 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.2971, allocations: 88.59 kB / 410.4 MB, free: 8.215 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2971, allocations: 0.9844 kB / 410.4 MB, free: 8.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001816/0.2973, allocations: 117.5 kB / 410.6 MB, free: 8.145 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2974, allocations: 11.03 kB / 410.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2974, allocations: 1.156 kB / 410.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2974, allocations: 3.156 kB / 410.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2975, allocations: 26.77 kB / 410.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2975, allocations: 2.25 kB / 410.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.862e-05/0.2976, allocations: 15.88 kB / 410.6 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.2976, allocations: 4.688 kB / 410.6 MB, free: 8.129 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 8.004e-05/0.2977, allocations: 119.5 kB / 410.7 MB, free: 8.008 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.2977, allocations: 16.8 kB / 410.7 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.2978, allocations: 15.11 kB / 410.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2978, allocations: 1.344 kB / 410.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2978, allocations: 0 / 410.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2978, allocations: 1.703 kB / 410.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.2982, allocations: 356.2 kB / 411.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2982, allocations: 0 / 411.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2983, allocations: 19.38 kB / 411.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2983, allocations: 1.625 kB / 411.1 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2983, allocations: 5.219 kB / 411.1 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2984, allocations: 1.812 kB / 411.1 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2984, allocations: 0 / 411.1 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.2985, allocations: 182.3 kB / 411.3 MB, free: 7.473 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.942e-05/0.2986, allocations: 96.22 kB / 411.4 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.2986, allocations: 1.828 kB / 411.4 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.297e-05/0.2987, allocations: 4 kB / 411.4 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.2987, allocations: 7.469 kB / 411.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.2987, allocations: 2.766 kB / 411.4 MB, free: 7.359 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.335e-05/0.2988, allocations: 118.5 kB / 411.5 MB, free: 7.27 MB / 286.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.2988, allocations: 1.094 kB / 411.5 MB, free: 7.27 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.2991, allocations: 22.59 kB / 411.6 MB, free: 7.262 MB / 286.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 (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 Backend phase and start with SimCode phase: time 0.0003343/0.2994, allocations: 0.7236 MB / 412.3 MB, free: 6.562 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.2996, allocations: 51.81 kB / 412.3 MB, free: 6.547 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2996, allocations: 0 / 412.3 MB, free: 6.547 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.2996, allocations: 22.58 kB / 412.4 MB, free: 6.535 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.3001, allocations: 41.33 kB / 412.4 MB, free: 6.527 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3015, allocations: 1.718 MB / 414.1 MB, free: 4.992 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.3017, allocations: 0.7064 MB / 414.8 MB, free: 4.293 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.767e-05/0.3017, allocations: 12.5 kB / 414.8 MB, free: 4.289 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.3018, allocations: 31.7 kB / 414.9 MB, free: 4.266 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3018, allocations: 0.5 kB / 414.9 MB, free: 4.266 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.3207, allocations: 2.458 MB / 417.3 MB, free: 3.984 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.321, allocations: 258.3 kB / 417.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.018, allocations: 0.6562 kB / 417.6 MB, free: 3.723 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_NonInvertibleConfig_SmallSignal_ON_BWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD.pipe 2>&1)