Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_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.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD,fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_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.001789/0.001789, 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.00196/0.001961, allocations: 197.5 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.441/1.441, 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.008331/0.008331, allocations: 1.324 MB / 291.7 MB, free: 1.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.89 kB / 355.4 MB, free: 14.7 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2556, allocations: 49.74 MB / 405.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD): time 0.003507/0.2591, allocations: 1.955 MB / 407.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.2602, allocations: 0.5587 MB / 407.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.2603, allocations: 6.844 kB / 407.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.2605, allocations: 26.83 kB / 407.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.2605, allocations: 31.39 kB / 407.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.2608, allocations: 97.61 kB / 407.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.261, allocations: 180.2 kB / 408 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.2612, allocations: 59 kB / 408 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.976e-05/0.2613, allocations: 66.58 kB / 408.1 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.2614, allocations: 59.73 kB / 408.1 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.2614, allocations: 11.56 kB / 408.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.859e-05/0.2615, allocations: 17.03 kB / 408.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.378e-05/0.2615, allocations: 28.73 kB / 408.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.903e-05/0.2616, allocations: 74.83 kB / 408.3 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.2618, allocations: 144.8 kB / 408.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2618, allocations: 4.641 kB / 408.4 MB, free: 9.758 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2618, allocations: 5.375 kB / 408.4 MB, free: 9.754 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.2618, allocations: 0 / 408.4 MB, free: 9.754 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000579/0.2624, allocations: 467.6 kB / 408.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2624, allocations: 10.78 kB / 408.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.2625, allocations: 44.59 kB / 408.9 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.2625, allocations: 17.56 kB / 409 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.2628, allocations: 218.5 kB / 409.2 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2628, allocations: 12.31 kB / 409.2 MB, free: 9.039 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.2628, allocations: 17.72 kB / 409.2 MB, free: 9.031 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.2631, allocations: 127.3 kB / 409.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2631, allocations: 0 / 409.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2631, allocations: 5.094 kB / 409.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2631, allocations: 6.516 kB / 409.3 MB, free: 8.945 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.2633, allocations: 64.52 kB / 409.4 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007618/0.2641, allocations: 0.5381 MB / 409.9 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.2643, allocations: 97.8 kB / 410 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.2644, allocations: 41.42 kB / 410.1 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.2644, allocations: 5.703 kB / 410.1 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.2644, allocations: 31.75 kB / 410.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2644, allocations: 0 / 410.1 MB, free: 8.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003163/0.2647, allocations: 131 kB / 410.2 MB, free: 8.293 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.2648, allocations: 56.59 kB / 410.3 MB, free: 8.227 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2649, allocations: 180.8 kB / 410.5 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.265, allocations: 26.8 kB / 410.5 MB, free: 8.066 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.265, allocations: 125.9 kB / 410.6 MB, free: 7.953 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.2651, allocations: 34.22 kB / 410.6 MB, free: 7.926 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.2651, allocations: 37.72 kB / 410.7 MB, free: 7.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.464e-05/0.2652, allocations: 330.3 kB / 411 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.787e-05/0.2653, allocations: 32.31 kB / 411 MB, free: 7.566 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.838e-05/0.2654, allocations: 63.08 kB / 411.1 MB, free: 7.527 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.2656, allocations: 92.5 kB / 411.2 MB, free: 7.473 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2656, allocations: 5.188 kB / 411.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002358/0.2658, allocations: 152.1 kB / 411.3 MB, free: 7.391 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2658, allocations: 4.938 kB / 411.4 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2658, allocations: 1.625 kB / 411.4 MB, free: 7.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.2659, allocations: 5.062 kB / 411.4 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.2661, allocations: 39.61 kB / 411.4 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.2661, allocations: 2.062 kB / 411.4 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.2661, allocations: 16.41 kB / 411.4 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.2662, allocations: 8.125 kB / 411.4 MB, free: 7.367 MB / 286.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 (18): * Single equations (assignments): 18 * 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 7.096e-05/0.2662, allocations: 125.5 kB / 411.5 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.2663, allocations: 17.97 kB / 411.6 MB, free: 7.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.2663, allocations: 19.34 kB / 411.6 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2663, allocations: 5.156 kB / 411.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2663, allocations: 0 / 411.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2664, allocations: 0.6094 kB / 411.6 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.2668, allocations: 424.2 kB / 412 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2668, allocations: 1.219 kB / 412 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.267, allocations: 34.64 kB / 412 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.2671, allocations: 1.781 kB / 412 MB, free: 6.848 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.2671, allocations: 5.062 kB / 412 MB, free: 6.844 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006767/0.2678, allocations: 1.409 MB / 413.5 MB, free: 5.375 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2678, allocations: 5.219 kB / 413.5 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.268, allocations: 241.5 kB / 413.7 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.2681, allocations: 101.9 kB / 413.8 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2681, allocations: 6.625 kB / 413.8 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.2682, allocations: 2.406 kB / 413.8 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.2683, allocations: 10.62 kB / 413.8 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2683, allocations: 7.734 kB / 413.8 MB, free: 5.066 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.68e-05/0.2684, allocations: 130.1 kB / 413.9 MB, free: 4.977 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2684, allocations: 0 / 413.9 MB, free: 4.977 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.2686, allocations: 29.23 kB / 414 MB, free: 4.973 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.l,PI.x) * 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 (9): * Single equations (assignments): 8 * 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.0004189/0.2691, allocations: 0.7839 MB / 414.8 MB, free: 4.254 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.2693, allocations: 97.72 kB / 414.9 MB, free: 4.219 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2693, allocations: 0 / 414.9 MB, free: 4.219 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.2695, allocations: 43.77 kB / 414.9 MB, free: 4.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.27, allocations: 50.47 kB / 414.9 MB, free: 4.191 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2718, allocations: 1.937 MB / 416.9 MB, free: 2.652 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.2719, allocations: 0.7222 MB / 417.6 MB, free: 1.953 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.909e-05/0.272, allocations: 11.97 kB / 417.6 MB, free: 1.953 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.097e-05/0.2721, allocations: 43.34 kB / 417.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2721, allocations: 0 / 417.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.027/0.2991, allocations: 3.455 MB / 421.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.575/7.874, allocations: 14.03 kB / 421.1 MB, free: 1.434 MB / 286.1 MB (rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BoundaryInitBlocks_BoundaryInitBlocks_Examples_Tests_Hydraulics_InvertibleConfig_CL_Simulation_ON_FWD.fmu > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.CL_Simulation_ON_FWD.pipe 2>&1)