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.0009595/0.0009595, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009722/0.0009722, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.952/0.952, allocations: 230.6 MB / 256 MB, free: 9.586 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.7879/0.7879, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0009264/0.0009264, allocations: 62.59 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.558, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1572/0.7152, allocations: 149.5 MB / 0.9638 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005652/0.7208, allocations: 6.568 MB / 0.9703 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.7211, allocations: 19.81 kB / 0.9703 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.7214, allocations: 170.7 kB / 0.9704 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.7236, allocations: 1.284 MB / 0.9717 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.7247, allocations: 0.6817 MB / 0.9724 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.7254, allocations: 0.7719 MB / 0.9731 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002981/0.7257, allocations: 231.2 kB / 0.9733 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.7269, allocations: 0.7435 MB / 0.9741 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.7275, allocations: 446.3 kB / 0.9745 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.422e-05/0.7275, allocations: 24 kB / 0.9745 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.7291, allocations: 1.04 MB / 0.9755 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.222e-05/0.7292, allocations: 119.6 kB / 0.9756 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.543e-05/0.7293, allocations: 147.3 kB / 0.9758 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008312/0.7302, allocations: 0.8645 MB / 0.9766 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7302, allocations: 0 / 0.9766 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7302, allocations: 0 / 0.9766 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.7302, allocations: 4 kB / 0.9766 GB, free: 2.449 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.0006049/0.7308, allocations: 0.6329 MB / 0.9773 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.7308, allocations: 12.03 kB / 0.9773 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.7309, allocations: 62.53 kB / 0.9773 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005168/0.7314, allocations: 131.6 kB / 0.9774 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.7318, allocations: 275.5 kB / 0.9777 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.7318, allocations: 76.05 kB / 0.9778 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.7319, allocations: 28 kB / 0.9778 GB, free: 1.164 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.7323, allocations: 389 kB / 0.9782 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.7323, allocations: 3.938 kB / 0.9782 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.7323, allocations: 12 kB / 0.9782 GB, free: 0.7461 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.7323, allocations: 11.94 kB / 0.9782 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.7326, allocations: 277.7 kB / 0.9785 GB, free: 476 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.7338, allocations: 1.136 MB / 0.9796 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.734, allocations: 190.5 kB / 0.9798 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.7341, allocations: 108.8 kB / 0.9799 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/0.7345, allocations: 139.8 kB / 0.98 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.7345, allocations: 30.56 kB / 0.98 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 9.52e-07/0.7345, allocations: 0 / 0.98 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.000548/0.7351, allocations: 366.9 kB / 0.9804 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.7351, allocations: 59.28 kB / 0.9804 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.7353, allocations: 316.5 kB / 0.9807 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.7353, allocations: 29.7 kB / 0.9808 GB, free: 14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.7354, allocations: 188.3 kB / 0.9809 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.7354, allocations: 59.48 kB / 0.981 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.7355, allocations: 41.69 kB / 0.981 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.7356, allocations: 342.8 kB / 0.9814 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.7357, allocations: 83.94 kB / 0.9814 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.7358, allocations: 227 kB / 0.9817 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.7361, allocations: 241.8 kB / 0.9819 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7361, allocations: 4 kB / 0.9819 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003211/0.7364, allocations: 287.9 kB / 0.9822 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.7364, allocations: 6.344 kB / 0.9822 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.7364, allocations: 4 kB / 0.9822 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.933e-06/0.7364, allocations: 0 / 0.9822 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.7365, allocations: 39.92 kB / 0.9822 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.7365, allocations: 4 kB / 0.9822 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/0.7366, allocations: 32.02 kB / 0.9823 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.7366, allocations: 19.98 kB / 0.9823 GB, free: 12.37 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.0002569/0.7369, allocations: 153.7 kB / 0.9824 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.737, allocations: 27.81 kB / 0.9824 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.7373, allocations: 312.9 kB / 0.9827 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.7373, allocations: 0 / 0.9827 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.7373, allocations: 0 / 0.9827 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.7373, allocations: 0 / 0.9827 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.7381, allocations: 0.7528 MB / 0.9835 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7381, allocations: 4 kB / 0.9835 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.35e-05/0.7381, allocations: 39.91 kB / 0.9835 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.7381, allocations: 4.156 kB / 0.9835 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.7382, allocations: 12 kB / 0.9835 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.7382, allocations: 4 kB / 0.9835 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7382, allocations: 4 kB / 0.9835 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.7385, allocations: 397.1 kB / 0.9839 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.7386, allocations: 59.86 kB / 0.984 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.7386, allocations: 15.81 kB / 0.984 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.7387, allocations: 15.98 kB / 0.984 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.7388, allocations: 15.98 kB / 0.984 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.7388, allocations: 15.98 kB / 0.984 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001367/0.7389, allocations: 227 kB / 0.9843 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.7389, allocations: 4 kB / 0.9843 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003003/0.7392, allocations: 123.7 kB / 0.9844 GB, free: 10.09 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.0007195/0.7399, allocations: 1.042 MB / 0.9854 GB, free: 9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.7402, allocations: 219.7 kB / 0.9856 GB, free: 8.785 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7402, allocations: 4 kB / 0.9856 GB, free: 8.781 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.7403, allocations: 115.8 kB / 0.9857 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.7408, allocations: 165.3 kB / 0.9859 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.7432, allocations: 3.053 MB / 0.9889 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.7433, allocations: 181 kB / 0.989 GB, free: 5.102 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001579/0.7435, allocations: 82.88 kB / 0.9891 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.7436, allocations: 103.4 kB / 0.9892 GB, free: 4.918 MB / 0.7605 GB Notification: Performance of SimCode: time 4.51e-07/0.7436, allocations: 0 / 0.9892 GB, free: 4.918 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.7663, allocations: 11.72 MB / 1.001 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/7.676, allocations: 2.188 kB / 1.001 GB, free: 9.465 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate_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_EntropyFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.73843081574887] Failed to read output from testmodel.py, exit status != 0: 7.76159931672737 7.772423757 7.039629495 Calling exit ...