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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 215.6 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo): time 0.00847/0.00847, allocations: 1.344 MB / 314.6 MB, free: 1.836 MB / 238.1 MB " [Timeout remaining time 180] Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BoundaryInitBlocks requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002828/0.002828, allocations: 61.62 kB / 441 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1123, allocations: 53.67 MB / 494.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.NonInvertibleConfig.SmallSignal_ON_BWD): time 0.003048/0.1154, allocations: 1.689 MB / 496.4 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1165, allocations: 0.5728 MB / 496.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.391e-05/0.1165, allocations: 3.938 kB / 496.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.1167, allocations: 15.86 kB / 497 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.967e-05/0.1167, allocations: 27.78 kB / 497 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.117, allocations: 75.84 kB / 497.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.1172, allocations: 127.6 kB / 497.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1173, allocations: 33.61 kB / 497.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.1174, allocations: 51.73 kB / 497.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.1175, allocations: 43.78 kB / 497.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1175, allocations: 4 kB / 497.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.1175, allocations: 8 kB / 497.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.834e-05/0.1175, allocations: 23.91 kB / 497.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.1176, allocations: 51.61 kB / 497.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1178, allocations: 95.56 kB / 497.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1178, allocations: 0 / 497.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1178, allocations: 0 / 497.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1178, allocations: 0 / 497.5 MB, free: 3.691 MB / 350.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.0005243/0.1183, allocations: 353.7 kB / 497.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1183, allocations: 8.031 kB / 497.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.082e-05/0.1184, allocations: 4.188 kB / 497.8 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/0.1184, allocations: 46.67 kB / 497.9 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.1185, allocations: 16.84 kB / 497.9 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1187, allocations: 142.9 kB / 498 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1187, allocations: 8.125 kB / 498 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.1187, allocations: 12 kB / 498.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1189, allocations: 107.2 kB / 498.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1189, allocations: 0 / 498.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1189, allocations: 8 kB / 498.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1189, allocations: 0 / 498.2 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.364e-05/0.119, allocations: 39.98 kB / 498.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/0.1198, allocations: 447.7 kB / 498.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.12, allocations: 58.58 kB / 498.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.12, allocations: 24.92 kB / 498.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.12, allocations: 3.938 kB / 498.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1201, allocations: 38.55 kB / 498.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1201, allocations: 4 kB / 498.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000714/0.1208, allocations: 305 kB / 499.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.1208, allocations: 51.41 kB / 499.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.121, allocations: 166.1 kB / 499.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.121, allocations: 29.7 kB / 499.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.1211, allocations: 119.9 kB / 499.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.1211, allocations: 35.69 kB / 499.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.768e-05/0.1212, allocations: 33.72 kB / 499.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1213, allocations: 322.8 kB / 499.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.1214, allocations: 23.98 kB / 499.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.887e-05/0.1215, allocations: 76.41 kB / 499.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.1216, allocations: 105.9 kB / 0.4883 GB, free: 0.8906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1216, allocations: 0 / 0.4883 GB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000216/0.1218, allocations: 145.6 kB / 0.4884 GB, free: 0.7422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1218, allocations: 8 kB / 0.4884 GB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1219, allocations: 0 / 0.4884 GB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1219, allocations: 4 kB / 0.4884 GB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.122, allocations: 35.92 kB / 0.4885 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.122, allocations: 0 / 0.4885 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.1221, allocations: 8 kB / 0.4885 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1221, allocations: 4 kB / 0.4885 GB, free: 0.6836 MB / 350.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 (17): * Single equations (assignments): 17 * 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.0001023/0.1222, allocations: 133.7 kB / 0.4886 GB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.1222, allocations: 11.98 kB / 0.4886 GB, free: 0.5312 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.1222, allocations: 12.7 kB / 0.4886 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1222, allocations: 4.094 kB / 0.4886 GB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1222, allocations: 3.938 kB / 0.4887 GB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1223, allocations: 0 / 0.4887 GB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.1227, allocations: 357.5 kB / 0.489 GB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1227, allocations: 0 / 0.489 GB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1229, allocations: 31.92 kB / 0.489 GB, free: 88 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.1229, allocations: 8 kB / 0.489 GB, free: 80 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.1229, allocations: 7.984 kB / 0.489 GB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1229, allocations: 0 / 0.489 GB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1229, allocations: 0 / 0.489 GB, free: 72 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1232, allocations: 199.4 kB / 0.4892 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.1232, allocations: 23.92 kB / 0.4893 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1232, allocations: 0 / 0.4893 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.728e-05/0.1233, allocations: 0 / 0.4893 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.1233, allocations: 12.05 kB / 0.4893 GB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1233, allocations: 4 kB / 0.4893 GB, free: 15.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.915e-05/0.1234, allocations: 115.2 kB / 0.4894 GB, free: 15.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1234, allocations: 0 / 0.4894 GB, free: 15.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1237, allocations: 20 kB / 0.4894 GB, free: 15.69 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_y) * 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): 9 * 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.0005691/0.1243, allocations: 0.7362 MB / 0.4901 GB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.1245, allocations: 71.8 kB / 0.4902 GB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1245, allocations: 0 / 0.4902 GB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.1245, allocations: 27.92 kB / 0.4902 GB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.125, allocations: 35.12 kB / 0.4902 GB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.1269, allocations: 1.717 MB / 0.4919 GB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1272, allocations: 0.7045 MB / 0.4926 GB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.852e-05/0.1273, allocations: 12.64 kB / 0.4926 GB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.768e-05/0.1274, allocations: 39.42 kB / 0.4927 GB, free: 12.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1274, allocations: 0 / 0.4927 GB, free: 12.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02326/0.1506, allocations: 2.955 MB / 0.4955 GB, free: 9.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.4, allocations: 11.94 kB / 0.4956 GB, free: 9.402 MB / 366.1 MB " [Timeout remaining time 648] (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 --stepSize=0.002 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.20392872398952] Failed to read output from testmodel.py, exit status != 0: 11.56879420299083 11.734213727 11.613787414 Calling exit ...