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 -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.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.442/1.442, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008695/0.008695, allocations: 1.333 MB / 291.7 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002881/0.002881, allocations: 63.91 kB / 356.1 MB, free: 14.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2957, allocations: 49.73 MB / 405.8 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.002984/0.2987, allocations: 1.665 MB / 407.5 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008263/0.2996, allocations: 0.5176 MB / 408 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.505e-05/0.2996, allocations: 5.094 kB / 408 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.2998, allocations: 15.56 kB / 408 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.2998, allocations: 25.08 kB / 408 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.3001, allocations: 81.48 kB / 408.1 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.3002, allocations: 129.4 kB / 408.2 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.3004, allocations: 41.38 kB / 408.3 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.3004, allocations: 40.95 kB / 408.3 MB, free: 10.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.3005, allocations: 45.38 kB / 408.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.3006, allocations: 10.88 kB / 408.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.866e-05/0.3006, allocations: 9 kB / 408.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.3006, allocations: 16.81 kB / 408.4 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.3007, allocations: 42.98 kB / 408.4 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.3008, allocations: 94.95 kB / 408.5 MB, free: 10.47 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3008, allocations: 1.156 kB / 408.5 MB, free: 10.47 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3008, allocations: 0 / 408.5 MB, free: 10.47 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3008, allocations: 0 / 408.5 MB, free: 10.47 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.0004511/0.3013, allocations: 423.8 kB / 409 MB, free: 10.06 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3013, allocations: 14.73 kB / 409 MB, free: 10.05 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.76e-05/0.3014, allocations: 38.94 kB / 409 MB, free: 10.01 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.3014, allocations: 18.91 kB / 409 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.3016, allocations: 201.9 kB / 409.2 MB, free: 9.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3016, allocations: 12.03 kB / 409.2 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3017, allocations: 15.16 kB / 409.2 MB, free: 9.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3018, allocations: 91.47 kB / 409.3 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3019, allocations: 0 / 409.3 MB, free: 9.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3019, allocations: 8.875 kB / 409.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3019, allocations: 7.359 kB / 409.4 MB, free: 9.695 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/0.302, allocations: 41.88 kB / 409.4 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/0.3026, allocations: 471.8 kB / 409.9 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.3028, allocations: 56.28 kB / 409.9 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.805e-05/0.3029, allocations: 18.16 kB / 409.9 MB, free: 9.223 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3029, allocations: 5.922 kB / 409.9 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.3029, allocations: 34.5 kB / 410 MB, free: 9.176 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.153e-06/0.3029, allocations: 1.438 kB / 410 MB, free: 9.176 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001876/0.3031, allocations: 78.06 kB / 410 MB, free: 9.121 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.3031, allocations: 53.72 kB / 410.1 MB, free: 9.059 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3033, allocations: 157.5 kB / 410.2 MB, free: 8.938 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.3033, allocations: 26.92 kB / 410.3 MB, free: 8.906 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.3034, allocations: 129.9 kB / 410.4 MB, free: 8.785 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.3034, allocations: 16.2 kB / 410.4 MB, free: 8.773 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.3034, allocations: 29 kB / 410.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.3035, allocations: 321.6 kB / 410.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.3035, allocations: 24.36 kB / 410.8 MB, free: 8.422 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.3036, allocations: 63.25 kB / 410.8 MB, free: 8.355 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.3037, allocations: 88.5 kB / 410.9 MB, free: 8.273 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3037, allocations: 1.062 kB / 410.9 MB, free: 8.273 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001646/0.3039, allocations: 114.7 kB / 411 MB, free: 8.207 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3039, allocations: 9.25 kB / 411.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.3039, allocations: 2.828 kB / 411.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3039, allocations: 2.75 kB / 411.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3041, allocations: 30.59 kB / 411.1 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3041, allocations: 2.219 kB / 411.1 MB, free: 8.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.3041, allocations: 15.45 kB / 411.1 MB, free: 8.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3042, allocations: 4.969 kB / 411.1 MB, free: 8.188 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 6.125e-05/0.3042, allocations: 123.9 kB / 411.2 MB, free: 8.062 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.3043, allocations: 11.25 kB / 411.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.3043, allocations: 13.62 kB / 411.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3043, allocations: 0 / 411.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3043, allocations: 5.469 kB / 411.3 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3043, allocations: 0.75 kB / 411.3 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.3046, allocations: 356 kB / 411.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3046, allocations: 0.6094 kB / 411.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3047, allocations: 19.17 kB / 411.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3047, allocations: 1.094 kB / 411.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.3048, allocations: 1.094 kB / 411.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3048, allocations: 2.094 kB / 411.6 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3048, allocations: 5.094 kB / 411.6 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.3049, allocations: 185.5 kB / 411.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.305, allocations: 91.92 kB / 411.9 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.305, allocations: 1.812 kB / 411.9 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.3051, allocations: 0 / 411.9 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.3051, allocations: 3.734 kB / 411.9 MB, free: 7.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3051, allocations: 6.25 kB / 411.9 MB, free: 7.422 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.368e-05/0.3052, allocations: 118.9 kB / 412 MB, free: 7.332 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3052, allocations: 1.125 kB / 412 MB, free: 7.332 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.3054, allocations: 22.62 kB / 412.1 MB, free: 7.324 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.0002818/0.3057, allocations: 0.7285 MB / 412.8 MB, free: 6.621 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.3058, allocations: 45.88 kB / 412.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3058, allocations: 0 / 412.8 MB, free: 6.609 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.3059, allocations: 19.95 kB / 412.9 MB, free: 6.602 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3063, allocations: 48.53 kB / 412.9 MB, free: 6.586 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.3077, allocations: 1.686 MB / 414.6 MB, free: 5.09 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.3079, allocations: 0.7071 MB / 415.3 MB, free: 4.391 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.308, allocations: 11.81 kB / 415.3 MB, free: 4.387 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.308, allocations: 31.47 kB / 415.3 MB, free: 4.363 MB / 286.1 MB Notification: Performance of SimCode: time 4.51e-07/0.308, allocations: 0 / 415.3 MB, free: 4.363 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.3358, allocations: 2.549 MB / 417.9 MB, free: 3.953 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.521/7.857, allocations: 10.47 kB / 417.9 MB, free: 3.949 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)