Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001311/0.001311, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001565/0.001565, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8487/0.8487, allocations: 134 MB / 446.4 MB, free: 9.953 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_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.001959/0.001959, allocations: 70.64 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1793, allocations: 85.91 MB / 0.7024 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5414/0.7207, allocations: 147.6 MB / 0.8465 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.7236, allocations: 1.478 MB / 0.848 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.724, allocations: 19.81 kB / 0.848 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.7245, allocations: 158.9 kB / 0.8482 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.7262, allocations: 0.7039 MB / 0.8488 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.7278, allocations: 0.6109 MB / 0.8494 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0008401/0.7287, allocations: 0.709 MB / 0.8501 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.7291, allocations: 189.3 kB / 0.8503 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006223/0.7297, allocations: 354.7 kB / 0.8506 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.73, allocations: 219.1 kB / 0.8509 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.73, allocations: 24 kB / 0.8509 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.7313, allocations: 0.7244 MB / 0.8516 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.7315, allocations: 103.7 kB / 0.8517 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001697/0.7316, allocations: 143.4 kB / 0.8518 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.7327, allocations: 0.699 MB / 0.8525 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7327, allocations: 0 / 0.8525 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7327, allocations: 0 / 0.8525 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.7327, allocations: 4 kB / 0.8525 GB, free: 9.43 MB / 0.6231 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.0009553/0.7337, allocations: 0.5901 MB / 0.8531 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.7337, allocations: 8.031 kB / 0.8531 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.094e-05/0.7338, allocations: 58.53 kB / 0.8531 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.7349, allocations: 155.6 kB / 0.8533 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.7354, allocations: 260 kB / 0.8535 GB, free: 8.301 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.7355, allocations: 16.44 kB / 0.8536 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.7355, allocations: 31.92 kB / 0.8536 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.7361, allocations: 275.5 kB / 0.8539 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.7361, allocations: 4 kB / 0.8539 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.7361, allocations: 12 kB / 0.8539 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.7361, allocations: 8 kB / 0.8539 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000429/0.7365, allocations: 195.8 kB / 0.8541 GB, free: 7.75 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.7379, allocations: 0.9759 MB / 0.855 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.7382, allocations: 134.4 kB / 0.8551 GB, free: 6.578 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.7384, allocations: 88.8 kB / 0.8552 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004584/0.7389, allocations: 67.92 kB / 0.8553 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.7389, allocations: 42.5 kB / 0.8553 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.7389, allocations: 0 / 0.8553 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007684/0.7397, allocations: 276.7 kB / 0.8556 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.7397, allocations: 63.28 kB / 0.8557 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.7401, allocations: 320.5 kB / 0.856 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.7401, allocations: 25.7 kB / 0.856 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.7403, allocations: 180.3 kB / 0.8562 GB, free: 5.496 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.7403, allocations: 67.47 kB / 0.8562 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.7404, allocations: 41.7 kB / 0.8563 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.7406, allocations: 338.8 kB / 0.8566 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.7407, allocations: 75.88 kB / 0.8567 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.741, allocations: 190.2 kB / 0.8568 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.7414, allocations: 192.4 kB / 0.857 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7414, allocations: 1.688 kB / 0.857 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005019/0.7419, allocations: 241.4 kB / 0.8573 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.7419, allocations: 4 kB / 0.8573 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7419, allocations: 4 kB / 0.8573 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7419, allocations: 7.969 kB / 0.8573 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.7421, allocations: 43.92 kB / 0.8573 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.7421, allocations: 10.67 kB / 0.8573 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.7423, allocations: 31.77 kB / 0.8574 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.7424, allocations: 11.94 kB / 0.8574 GB, free: 4.191 MB / 0.6231 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.0001636/0.7425, allocations: 149.8 kB / 0.8575 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.7426, allocations: 31.8 kB / 0.8575 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004825/0.7431, allocations: 213.2 kB / 0.8577 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.7431, allocations: 3.984 kB / 0.8577 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7431, allocations: 4 kB / 0.8578 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7431, allocations: 0 / 0.8578 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.7442, allocations: 0.628 MB / 0.8584 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/0.7442, allocations: 11.88 kB / 0.8584 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.7444, allocations: 40.12 kB / 0.8584 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.7444, allocations: 4 kB / 0.8584 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.7444, allocations: 4 kB / 0.8584 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.7444, allocations: 4 kB / 0.8584 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.7444, allocations: 4 kB / 0.8584 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/0.7451, allocations: 429.1 kB / 0.8588 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.7452, allocations: 51.7 kB / 0.8589 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.7453, allocations: 12 kB / 0.8589 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.7455, allocations: 11.98 kB / 0.8589 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.7455, allocations: 15.98 kB / 0.8589 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.7455, allocations: 4 kB / 0.8589 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002607/0.7458, allocations: 227 kB / 0.8591 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7458, allocations: 3.938 kB / 0.8592 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004334/0.7462, allocations: 83.89 kB / 0.8592 GB, free: 2.16 MB / 0.6231 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.001262/0.7475, allocations: 1.017 MB / 0.8602 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004517/0.7479, allocations: 159.8 kB / 0.8604 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.7479, allocations: 0 / 0.8604 GB, free: 0.9375 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.7482, allocations: 88.44 kB / 0.8605 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/0.7491, allocations: 171.6 kB / 0.8606 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.7533, allocations: 2.894 MB / 0.8634 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.7535, allocations: 171.1 kB / 0.8636 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002568/0.7538, allocations: 62.94 kB / 0.8637 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.7539, allocations: 87.41 kB / 0.8638 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.7539, allocations: 0 / 0.8638 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04125/0.7952, allocations: 9.969 MB / 0.8735 GB, free: 3.633 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.94, allocations: 10.64 kB / 0.8735 GB, free: 3.625 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.514411743730307] Failed to read output from testmodel.py, exit status != 0: 12.050490754190832 12.078168204 11.340562316 Calling exit ...