Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.0009324/0.0009324, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008207/0.0008207, allocations: 203.8 kB / 23 MB, free: 3.109 MB / 13.93 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 0.8887/0.8887, allocations: 230.6 MB / 256.8 MB, free: 3.555 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7374/0.7374, allocations: 203.8 MB / 0.5049 GB, free: 0.7695 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: IDEAS 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.0009504/0.0009504, allocations: 63.91 kB / 0.7195 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4725, allocations: 102 MB / 0.8191 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1467/0.6192, allocations: 171 MB / 0.9861 GB, free: 7.59 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.621, allocations: 1.566 MB / 0.9876 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001686/0.6212, allocations: 15.88 kB / 0.9877 GB, free: 6.004 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.6216, allocations: 146.9 kB / 0.9878 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.6226, allocations: 0.7546 MB / 0.9885 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008344/0.6235, allocations: 0.6499 MB / 0.9892 GB, free: 4.457 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.000508/0.624, allocations: 0.7168 MB / 0.9899 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.6243, allocations: 192.3 kB / 0.99 GB, free: 3.547 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005835/0.6248, allocations: 0.5021 MB / 0.9905 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.625, allocations: 227.1 kB / 0.9908 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.6251, allocations: 23.94 kB / 0.9908 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007769/0.6259, allocations: 0.9313 MB / 0.9917 GB, free: 1.863 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.905e-05/0.6259, allocations: 111.6 kB / 0.9918 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.626, allocations: 167.2 kB / 0.992 GB, free: 1.59 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.6267, allocations: 0.7282 MB / 0.9927 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6267, allocations: 0 / 0.9927 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6267, allocations: 0 / 0.9927 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.6267, allocations: 0 / 0.9927 GB, free: 0.8594 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009141/0.6276, allocations: 0.5862 MB / 0.9932 GB, free: 248 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.6277, allocations: 9.469 kB / 0.9932 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/0.6283, allocations: 151.6 kB / 0.9934 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.6286, allocations: 268 kB / 0.9936 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.6286, allocations: 12.44 kB / 0.9937 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.6286, allocations: 24 kB / 0.9937 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.6289, allocations: 287.4 kB / 0.994 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6289, allocations: 0 / 0.994 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.629, allocations: 8 kB / 0.994 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.629, allocations: 4 kB / 0.994 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.6292, allocations: 195.8 kB / 0.9942 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.6301, allocations: 1.182 MB / 0.9953 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.6303, allocations: 126.5 kB / 0.9954 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.597e-05/0.6304, allocations: 84.8 kB / 0.9955 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/0.6306, allocations: 71.92 kB / 0.9956 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.6306, allocations: 42.5 kB / 0.9956 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.6307, allocations: 0 / 0.9956 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0004323/0.6311, allocations: 286.4 kB / 0.9959 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.6311, allocations: 51.41 kB / 0.9959 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.6313, allocations: 316.5 kB / 0.9962 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.6313, allocations: 29.7 kB / 0.9963 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.6314, allocations: 180.3 kB / 0.9964 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.6315, allocations: 63.47 kB / 0.9965 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.6315, allocations: 41.7 kB / 0.9965 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.6316, allocations: 338.8 kB / 0.9969 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.477e-05/0.6317, allocations: 67.95 kB / 0.9969 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.6318, allocations: 126.3 kB / 0.997 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.632, allocations: 192.9 kB / 0.9972 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.632, allocations: 0 / 0.9972 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002651/0.6323, allocations: 241.3 kB / 0.9975 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.6323, allocations: 4 kB / 0.9975 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.6323, allocations: 8.094 kB / 0.9975 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6323, allocations: 0 / 0.9975 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.6324, allocations: 39.97 kB / 0.9975 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6324, allocations: 7.938 kB / 0.9975 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-05/0.6325, allocations: 31.83 kB / 0.9976 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.6325, allocations: 8 kB / 0.9976 GB, free: 11.57 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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 9.35e-05/0.6326, allocations: 146.8 kB / 0.9977 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.6327, allocations: 31.89 kB / 0.9977 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.6329, allocations: 233.6 kB / 0.998 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6329, allocations: 0 / 0.998 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6329, allocations: 0 / 0.998 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6329, allocations: 3.984 kB / 0.998 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.6335, allocations: 0.6592 MB / 0.9986 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6335, allocations: 0 / 0.9986 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.6336, allocations: 39.91 kB / 0.9986 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.6336, allocations: 3.938 kB / 0.9986 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.6336, allocations: 8.219 kB / 0.9986 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6336, allocations: 4 kB / 0.9987 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6336, allocations: 0 / 0.9987 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.634, allocations: 439.6 kB / 0.9991 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.6341, allocations: 43.83 kB / 0.9991 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.6341, allocations: 11.94 kB / 0.9991 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.6342, allocations: 7.984 kB / 0.9991 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/0.6342, allocations: 19.98 kB / 0.9992 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.6343, allocations: 11.98 kB / 0.9992 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001388/0.6344, allocations: 223.1 kB / 0.9994 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.6344, allocations: 0 / 0.9994 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002325/0.6346, allocations: 87.81 kB / 0.9995 GB, free: 9.496 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0002076/0.6348, allocations: 139.2 kB / 0.9996 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.6351, allocations: 175 kB / 0.9998 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6351, allocations: 0 / 0.9998 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.6352, allocations: 83.77 kB / 0.9998 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.6359, allocations: 159.7 kB / 1 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/0.6366, allocations: 0.6424 MB / 1.001 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.6368, allocations: 0.7756 MB / 1.001 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.6368, allocations: 23.44 kB / 1.001 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/0.6368, allocations: 0 / 1.001 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of Templates: time 0.004413/0.6413, allocations: 4.857 MB / 1.006 GB, free: 2.629 MB / 0.7761 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.376708255847916] Failed to read output from testmodel.py, exit status != 0: 0.6469195690006018 0.654293063 0.025878411 Calling exit ...