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.0008458/0.0008458, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001019/0.001019, allocations: 219 kB / 22.26 MB, free: 3.703 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 1.026/1.026, allocations: 230.6 MB / 256 MB, free: 9.812 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.8806/0.8806, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [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.001111/0.001111, allocations: 67.05 kB / 0.7183 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5823/0.5834, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1775/0.7609, allocations: 171 MB / 0.9849 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.7634, allocations: 1.573 MB / 0.9864 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.7638, allocations: 15.88 kB / 0.9864 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.7643, allocations: 158.8 kB / 0.9866 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.7659, allocations: 0.743 MB / 0.9873 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.7678, allocations: 0.6439 MB / 0.9879 GB, free: 7.262 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0008765/0.7687, allocations: 0.7285 MB / 0.9886 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003611/0.7691, allocations: 191.7 kB / 0.9888 GB, free: 6.34 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009708/0.77, allocations: 0.5021 MB / 0.9893 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.7703, allocations: 227.1 kB / 0.9895 GB, free: 5.613 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.7703, allocations: 20 kB / 0.9896 GB, free: 5.594 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.7717, allocations: 0.9313 MB / 0.9905 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.7718, allocations: 115.6 kB / 0.9906 GB, free: 4.547 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.772, allocations: 163.2 kB / 0.9907 GB, free: 4.387 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.7732, allocations: 0.7204 MB / 0.9914 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7732, allocations: 0 / 0.9914 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7732, allocations: 0 / 0.9914 GB, free: 3.664 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.7732, allocations: 0 / 0.9914 GB, free: 3.664 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.0009239/0.7741, allocations: 0.5901 MB / 0.992 GB, free: 3.043 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.7741, allocations: 8.031 kB / 0.992 GB, free: 3.035 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.079e-05/0.7742, allocations: 58.53 kB / 0.9921 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006927/0.7749, allocations: 155.6 kB / 0.9922 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.7754, allocations: 267.9 kB / 0.9925 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.7754, allocations: 16.44 kB / 0.9925 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.7755, allocations: 24 kB / 0.9925 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.7759, allocations: 279.4 kB / 0.9928 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.7759, allocations: 0 / 0.9928 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.7759, allocations: 8 kB / 0.9928 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.7759, allocations: 8 kB / 0.9928 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.7762, allocations: 195.8 kB / 0.993 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.7774, allocations: 1.171 MB / 0.9941 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.7776, allocations: 130.5 kB / 0.9943 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.7777, allocations: 88.73 kB / 0.9943 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002907/0.778, allocations: 79.84 kB / 0.9944 GB, free: 428 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.778, allocations: 34.56 kB / 0.9944 GB, free: 384 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.778, allocations: 0 / 0.9944 GB, free: 384 kB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0005317/0.7786, allocations: 281.6 kB / 0.9947 GB, free: 96 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.7786, allocations: 51.41 kB / 0.9948 GB, free: 32 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006296/0.7792, allocations: 320.5 kB / 0.9951 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.7793, allocations: 29.7 kB / 0.9951 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.7794, allocations: 184.2 kB / 0.9953 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.7794, allocations: 55.48 kB / 0.9953 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/0.7795, allocations: 45.7 kB / 0.9954 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7796, allocations: 338.8 kB / 0.9957 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.7797, allocations: 67.89 kB / 0.9958 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.7798, allocations: 130.7 kB / 0.9959 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.78, allocations: 195.8 kB / 0.9961 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.78, allocations: 0 / 0.9961 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002739/0.7803, allocations: 237.3 kB / 0.9963 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.7803, allocations: 4 kB / 0.9963 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.7803, allocations: 4 kB / 0.9963 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.7803, allocations: 0 / 0.9963 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.7805, allocations: 52 kB / 0.9964 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7805, allocations: 4 kB / 0.9964 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.7806, allocations: 31.83 kB / 0.9964 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.7806, allocations: 4 kB / 0.9964 GB, free: 14.29 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 0.0001127/0.7807, allocations: 161.6 kB / 0.9965 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.7807, allocations: 27.81 kB / 0.9966 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.781, allocations: 220.3 kB / 0.9968 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.781, allocations: 0 / 0.9968 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.781, allocations: 0 / 0.9968 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.781, allocations: 3.984 kB / 0.9968 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.7817, allocations: 0.6552 MB / 0.9974 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.7817, allocations: 3.984 kB / 0.9974 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.255e-05/0.7818, allocations: 31.98 kB / 0.9975 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.7818, allocations: 7.938 kB / 0.9975 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.7818, allocations: 4 kB / 0.9975 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.7818, allocations: 7.938 kB / 0.9975 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7818, allocations: 224 / 0.9975 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.7822, allocations: 448 kB / 0.9979 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.7823, allocations: 51.7 kB / 0.998 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.7824, allocations: 11.98 kB / 0.998 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.026e-05/0.7824, allocations: 8 kB / 0.998 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.7825, allocations: 15.97 kB / 0.998 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.7825, allocations: 12.06 kB / 0.998 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001472/0.7826, allocations: 223.1 kB / 0.9982 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.7826, allocations: 0 / 0.9982 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002789/0.7829, allocations: 75.92 kB / 0.9983 GB, free: 12.23 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.0007869/0.7837, allocations: 1.018 MB / 0.9993 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.784, allocations: 163.9 kB / 0.9994 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.784, allocations: 0 / 0.9994 GB, free: 11 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.7841, allocations: 83.89 kB / 0.9995 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.7847, allocations: 165 kB / 0.9997 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.7876, allocations: 2.918 MB / 1.003 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.7879, allocations: 0.7756 MB / 1.003 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.7881, allocations: 66.92 kB / 1.003 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.7882, allocations: 87.41 kB / 1.003 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of SimCode: time 1.242e-06/0.7882, allocations: 4 kB / 1.003 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.8218, allocations: 9.053 MB / 1.012 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/7.773, allocations: 2.188 kB / 1.012 GB, free: 13.88 MB / 0.7917 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.957129982067272] Failed to read output from testmodel.py, exit status != 0: 7.853005628101528 7.86305398 7.08783999 Calling exit ...