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.0009058/0.0009058, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0009931/0.0009931, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9882/0.9882, allocations: 230.6 MB / 256 MB, free: 9.43 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.8356/0.8356, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.001269/0.001269, allocations: 66.55 kB / 0.7182 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.5958, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1644/0.7602, allocations: 147.6 MB / 0.962 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002446/0.7627, allocations: 1.492 MB / 0.9634 GB, free: 16 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004254/0.7631, allocations: 19.92 kB / 0.9635 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.7637, allocations: 154.8 kB / 0.9636 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.7657, allocations: 0.704 MB / 0.9643 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.7676, allocations: 0.6371 MB / 0.9649 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.7687, allocations: 0.7089 MB / 0.9656 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005696/0.7693, allocations: 199.6 kB / 0.9658 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.7708, allocations: 0.506 MB / 0.9663 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.7712, allocations: 211.1 kB / 0.9665 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.7712, allocations: 24 kB / 0.9665 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.7726, allocations: 0.705 MB / 0.9672 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.7727, allocations: 115.6 kB / 0.9673 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.7729, allocations: 143.3 kB / 0.9675 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.774, allocations: 0.6892 MB / 0.9681 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.774, allocations: 0 / 0.9681 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.324e-06/0.774, allocations: 0 / 0.9681 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.774, allocations: 0 / 0.9681 GB, free: 11.2 MB / 0.7448 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.0008759/0.7749, allocations: 0.59 MB / 0.9687 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.7749, allocations: 12.03 kB / 0.9687 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.341e-05/0.775, allocations: 58.48 kB / 0.9688 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.7757, allocations: 159.6 kB / 0.9689 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.7762, allocations: 256.1 kB / 0.9692 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.7762, allocations: 16.44 kB / 0.9692 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.7762, allocations: 27.94 kB / 0.9692 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.7766, allocations: 271.5 kB / 0.9695 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.7766, allocations: 0 / 0.9695 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.7766, allocations: 15.98 kB / 0.9695 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.7766, allocations: 4 kB / 0.9695 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002693/0.7769, allocations: 191.8 kB / 0.9697 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.7781, allocations: 0.9773 MB / 0.9706 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.7783, allocations: 128.4 kB / 0.9708 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.7784, allocations: 92.8 kB / 0.9708 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.7787, allocations: 75.86 kB / 0.9709 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.7787, allocations: 34.5 kB / 0.9709 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.7787, allocations: 0 / 0.9709 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0005155/0.7792, allocations: 287.5 kB / 0.9712 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.7792, allocations: 51.41 kB / 0.9713 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.7795, allocations: 320.5 kB / 0.9716 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.7795, allocations: 29.7 kB / 0.9716 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.7796, allocations: 184.3 kB / 0.9718 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.7796, allocations: 59.48 kB / 0.9718 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.7797, allocations: 41.7 kB / 0.9719 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.7798, allocations: 338.8 kB / 0.9722 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.7799, allocations: 63.95 kB / 0.9723 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.78, allocations: 210.6 kB / 0.9725 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.7802, allocations: 181 kB / 0.9726 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7802, allocations: 3.938 kB / 0.9726 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002705/0.7805, allocations: 245.3 kB / 0.9729 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.7805, allocations: 8 kB / 0.9729 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7805, allocations: 0 / 0.9729 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.7806, allocations: 4 kB / 0.9729 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.7807, allocations: 43.91 kB / 0.9729 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.7807, allocations: 0 / 0.9729 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.7808, allocations: 35.77 kB / 0.973 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.7808, allocations: 16.09 kB / 0.973 GB, free: 5.969 MB / 0.7448 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.0001025/0.7809, allocations: 149.7 kB / 0.9731 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.781, allocations: 31.81 kB / 0.9731 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002923/0.7812, allocations: 218.4 kB / 0.9734 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.7813, allocations: 4 kB / 0.9734 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7813, allocations: 0 / 0.9734 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.7813, allocations: 0 / 0.9734 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.7819, allocations: 0.6396 MB / 0.974 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7819, allocations: 0 / 0.974 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.573e-05/0.782, allocations: 31.98 kB / 0.974 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.782, allocations: 7.938 kB / 0.974 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.782, allocations: 4 kB / 0.974 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.782, allocations: 4.203 kB / 0.974 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7821, allocations: 11.94 kB / 0.974 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.7825, allocations: 425.2 kB / 0.9744 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.7825, allocations: 55.66 kB / 0.9745 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.7826, allocations: 8 kB / 0.9745 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.7826, allocations: 15.92 kB / 0.9745 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.7827, allocations: 11.98 kB / 0.9745 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.7827, allocations: 12.06 kB / 0.9745 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001455/0.7828, allocations: 227 kB / 0.9748 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.7828, allocations: 0 / 0.9748 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002863/0.7831, allocations: 75.89 kB / 0.9748 GB, free: 3.938 MB / 0.7448 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.0007699/0.7839, allocations: 1.018 MB / 0.9758 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.7842, allocations: 175.7 kB / 0.976 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7842, allocations: 0 / 0.976 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.7843, allocations: 79.89 kB / 0.9761 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005741/0.7849, allocations: 173.4 kB / 0.9762 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.7878, allocations: 2.903 MB / 0.9791 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.7879, allocations: 171.1 kB / 0.9792 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.7881, allocations: 66.92 kB / 0.9793 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.7882, allocations: 87.41 kB / 0.9794 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of SimCode: time 1.563e-06/0.7882, allocations: 4 kB / 0.9794 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.8178, allocations: 9.974 MB / 0.9891 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.959, allocations: 8.047 kB / 0.9891 GB, free: 5.344 MB / 0.7605 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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: 11.139506414998323] Failed to read output from testmodel.py, exit status != 0: 8.04493430070579 8.056796711 7.280462043 Calling exit ...