Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.0006186/0.0006186, allocations: 101.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.00073/0.00073, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.977/0.977, allocations: 230.6 MB / 256 MB, free: 9.602 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.7602/0.7602, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",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.0009821/0.0009821, allocations: 66.8 kB / 0.7182 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5468/0.5478, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1566/0.7043, allocations: 149.5 MB / 0.9638 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005773/0.7101, allocations: 6.566 MB / 0.9703 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.7104, allocations: 23.81 kB / 0.9703 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.7109, allocations: 174.7 kB / 0.9705 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.7133, allocations: 1.284 MB / 0.9717 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.7146, allocations: 0.6871 MB / 0.9724 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009296/0.7156, allocations: 0.7601 MB / 0.9731 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.7159, allocations: 235.3 kB / 0.9733 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.717, allocations: 0.7512 MB / 0.9741 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000596/0.7176, allocations: 430.4 kB / 0.9745 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.7176, allocations: 28 kB / 0.9745 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.7189, allocations: 1.04 MB / 0.9755 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.719, allocations: 119.6 kB / 0.9756 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.7191, allocations: 151.3 kB / 0.9758 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009075/0.72, allocations: 0.8645 MB / 0.9766 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.72, allocations: 0 / 0.9766 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.655e-06/0.72, allocations: 3.938 kB / 0.9766 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.72, allocations: 0 / 0.9766 GB, free: 2.488 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008075/0.7208, allocations: 0.629 MB / 0.9772 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.7209, allocations: 12.03 kB / 0.9773 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.7209, allocations: 66.48 kB / 0.9773 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005929/0.7215, allocations: 131.6 kB / 0.9774 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004071/0.7219, allocations: 275.5 kB / 0.9777 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/0.722, allocations: 76.06 kB / 0.9778 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.722, allocations: 28 kB / 0.9778 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.7225, allocations: 401 kB / 0.9782 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7225, allocations: 3.938 kB / 0.9782 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.7225, allocations: 11.94 kB / 0.9782 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.7225, allocations: 8 kB / 0.9782 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.7228, allocations: 269.7 kB / 0.9785 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.724, allocations: 1.14 MB / 0.9796 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002838/0.7243, allocations: 194.5 kB / 0.9798 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.7244, allocations: 108.8 kB / 0.9799 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000635/0.7251, allocations: 135.8 kB / 0.98 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.7251, allocations: 34.56 kB / 0.98 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.7251, allocations: 4 kB / 0.98 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0005936/0.7257, allocations: 351.3 kB / 0.9804 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.7257, allocations: 59.34 kB / 0.9804 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.7259, allocations: 320.5 kB / 0.9807 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.726, allocations: 25.7 kB / 0.9808 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.7261, allocations: 192.2 kB / 0.9809 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.7261, allocations: 63.48 kB / 0.981 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.7262, allocations: 41.7 kB / 0.981 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.7263, allocations: 342.8 kB / 0.9814 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.7264, allocations: 87.92 kB / 0.9815 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.7265, allocations: 225.1 kB / 0.9817 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.7268, allocations: 237.8 kB / 0.9819 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.7268, allocations: 4 kB / 0.9819 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003465/0.7271, allocations: 279.4 kB / 0.9822 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.7272, allocations: 12.19 kB / 0.9822 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7272, allocations: 3.938 kB / 0.9822 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.7272, allocations: 4 kB / 0.9822 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.7273, allocations: 43.91 kB / 0.9822 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7273, allocations: 0 / 0.9822 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.7274, allocations: 31.83 kB / 0.9823 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.7274, allocations: 12 kB / 0.9823 GB, free: 12.41 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.000109/0.7275, allocations: 153.7 kB / 0.9824 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.7276, allocations: 27.81 kB / 0.9824 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.728, allocations: 312.1 kB / 0.9827 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.728, allocations: 0 / 0.9827 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.728, allocations: 0 / 0.9827 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.728, allocations: 7.984 kB / 0.9828 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007374/0.7288, allocations: 0.7567 MB / 0.9835 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7288, allocations: 0 / 0.9835 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.362e-05/0.7288, allocations: 35.92 kB / 0.9835 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.7289, allocations: 7.938 kB / 0.9835 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.7289, allocations: 8 kB / 0.9835 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.7289, allocations: 3.984 kB / 0.9835 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7289, allocations: 4 kB / 0.9835 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.7292, allocations: 401.4 kB / 0.9839 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.133e-05/0.7293, allocations: 59.72 kB / 0.984 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.7293, allocations: 7.938 kB / 0.984 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.7294, allocations: 15.98 kB / 0.984 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.7295, allocations: 19.97 kB / 0.984 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.7295, allocations: 8 kB / 0.984 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001403/0.7296, allocations: 227 kB / 0.9843 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.7296, allocations: 0 / 0.9843 GB, free: 10.26 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003302/0.73, allocations: 135.6 kB / 0.9844 GB, free: 10.13 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0007806/0.7308, allocations: 1.05 MB / 0.9854 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.7311, allocations: 219.7 kB / 0.9856 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7311, allocations: 384 / 0.9856 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.7312, allocations: 115.8 kB / 0.9857 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.7317, allocations: 159.1 kB / 0.9859 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.7345, allocations: 3.041 MB / 0.9889 GB, free: 5.352 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.7346, allocations: 185 kB / 0.989 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.7348, allocations: 88.83 kB / 0.9891 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.7349, allocations: 99.41 kB / 0.9892 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.7349, allocations: 0 / 0.9892 GB, free: 4.965 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.7596, allocations: 11.71 MB / 1.001 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.658, allocations: 9.312 kB / 1.001 GB, free: 9.512 MB / 0.7761 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.600448712706566] Failed to read output from testmodel.py, exit status != 0: 7.74352004006505 7.752051819 7.02994612 Calling exit ...