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.001648/0.001648, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001368/0.001368, allocations: 214.6 kB / 23.03 MB, free: 4.922 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.413/1.413, allocations: 230.6 MB / 256.8 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.8629/0.8629, allocations: 134 MB / 447.2 MB, free: 9.934 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",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.001909/0.001909, allocations: 67.31 kB / 0.6193 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1618, allocations: 85.91 MB / 0.7032 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5389/0.7007, allocations: 147.5 MB / 0.8472 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.002972/0.7037, allocations: 1.474 MB / 0.8486 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/0.7041, allocations: 23.75 kB / 0.8487 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.7047, allocations: 154.9 kB / 0.8488 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.7069, allocations: 0.7001 MB / 0.8495 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.7088, allocations: 0.6273 MB / 0.8501 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.7099, allocations: 0.7129 MB / 0.8508 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004279/0.7103, allocations: 185.3 kB / 0.851 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008104/0.7111, allocations: 362.7 kB / 0.8513 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005399/0.7117, allocations: 231.1 kB / 0.8515 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.818e-05/0.7118, allocations: 20 kB / 0.8516 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.7137, allocations: 0.7323 MB / 0.8523 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.714, allocations: 115.6 kB / 0.8524 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.7143, allocations: 131.5 kB / 0.8525 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.7162, allocations: 0.7029 MB / 0.8532 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.7162, allocations: 4 kB / 0.8532 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7162, allocations: 0 / 0.8532 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.7163, allocations: 0 / 0.8532 GB, free: 9.539 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.001295/0.7175, allocations: 0.5901 MB / 0.8538 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7176, allocations: 12.03 kB / 0.8538 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.394e-05/0.7176, allocations: 4.438 kB / 0.8538 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.076e-05/0.7177, allocations: 55.67 kB / 0.8539 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.719, allocations: 159.6 kB / 0.854 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.7196, allocations: 264 kB / 0.8543 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.7197, allocations: 16.44 kB / 0.8543 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.7197, allocations: 23.94 kB / 0.8543 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.7203, allocations: 283.5 kB / 0.8546 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.7203, allocations: 0 / 0.8546 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.7204, allocations: 4 kB / 0.8546 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.7204, allocations: 12 kB / 0.8546 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.7208, allocations: 199.8 kB / 0.8548 GB, free: 7.848 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.001538/0.7224, allocations: 0.9741 MB / 0.8557 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.7227, allocations: 138.4 kB / 0.8559 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.7229, allocations: 80.81 kB / 0.8559 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/0.7234, allocations: 75.91 kB / 0.856 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.7234, allocations: 30.56 kB / 0.856 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.7234, allocations: 4 kB / 0.856 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0007963/0.7242, allocations: 288.8 kB / 0.8563 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.7242, allocations: 51.41 kB / 0.8564 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.7246, allocations: 312.5 kB / 0.8567 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.7246, allocations: 33.7 kB / 0.8567 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.7248, allocations: 188.2 kB / 0.8569 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.7248, allocations: 55.48 kB / 0.8569 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.555e-05/0.7249, allocations: 49.7 kB / 0.857 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7251, allocations: 342.8 kB / 0.8573 GB, free: 5.137 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.7252, allocations: 63.89 kB / 0.8574 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.7255, allocations: 199.9 kB / 0.8575 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.7258, allocations: 197 kB / 0.8577 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.7259, allocations: 3.938 kB / 0.8577 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004679/0.7263, allocations: 237.3 kB / 0.858 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7263, allocations: 8 kB / 0.858 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.7263, allocations: 0 / 0.858 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7264, allocations: 4 kB / 0.858 GB, free: 4.379 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/0.7266, allocations: 43.97 kB / 0.858 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.7266, allocations: 4.094 kB / 0.858 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.7268, allocations: 39.7 kB / 0.8581 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.7268, allocations: 8 kB / 0.8581 GB, free: 4.285 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.0001546/0.7269, allocations: 145.8 kB / 0.8582 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.727, allocations: 31.81 kB / 0.8582 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004837/0.7275, allocations: 216.3 kB / 0.8584 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7275, allocations: 0 / 0.8584 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.7275, allocations: 0 / 0.8584 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.7275, allocations: 12.81 kB / 0.8585 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.7285, allocations: 0.628 MB / 0.8591 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.7286, allocations: 4 kB / 0.8591 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.7287, allocations: 31.92 kB / 0.8591 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.7287, allocations: 8.219 kB / 0.8591 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.7287, allocations: 8 kB / 0.8591 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.7287, allocations: 6.234 kB / 0.8591 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7287, allocations: 4 kB / 0.8591 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.7294, allocations: 429 kB / 0.8595 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-05/0.7295, allocations: 47.81 kB / 0.8596 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.7295, allocations: 4 kB / 0.8596 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.7297, allocations: 16.05 kB / 0.8596 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.7298, allocations: 11.98 kB / 0.8596 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.7298, allocations: 7.938 kB / 0.8596 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002334/0.73, allocations: 227 kB / 0.8598 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.73, allocations: 0 / 0.8598 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003888/0.7304, allocations: 87.81 kB / 0.8599 GB, free: 2.262 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.001134/0.7315, allocations: 1.018 MB / 0.8609 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.732, allocations: 171.7 kB / 0.8611 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.732, allocations: 0 / 0.8611 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.7322, allocations: 80.45 kB / 0.8612 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.733, allocations: 168.7 kB / 0.8613 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003987/0.737, allocations: 2.903 MB / 0.8642 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.7372, allocations: 175.1 kB / 0.8643 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.7375, allocations: 58.92 kB / 0.8644 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.7376, allocations: 91.41 kB / 0.8645 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of SimCode: time 9.81e-07/0.7376, allocations: 0 / 0.8645 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.7713, allocations: 9.613 MB / 0.8739 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.25, allocations: 11.66 kB / 0.8739 GB, free: 4.094 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.97746610105969] Failed to read output from testmodel.py, exit status != 0: 12.415431266999803 12.441967322 11.720641519 Calling exit ...