Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001314/0.001314, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001437/0.001437, allocations: 220.8 kB / 22.26 MB, free: 5.211 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.961 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.8252/0.8252, allocations: 134 MB / 446.4 MB, free: 10.19 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.EntropyFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IDEAS_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.001906/0.001906, allocations: 69.92 kB / 0.6186 GB, free: 7.148 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1636, allocations: 85.92 MB / 0.7025 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5863/0.75, allocations: 173.1 MB / 0.8715 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.7605, allocations: 7.227 MB / 0.8786 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005338/0.761, allocations: 19.81 kB / 0.8786 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006432/0.7617, allocations: 178.7 kB / 0.8788 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.7654, allocations: 1.338 MB / 0.8801 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.7675, allocations: 0.6681 MB / 0.8807 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.7688, allocations: 0.7757 MB / 0.8815 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005404/0.7693, allocations: 234.9 kB / 0.8817 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.7707, allocations: 0.5954 MB / 0.8823 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.7718, allocations: 474.5 kB / 0.8827 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.563e-05/0.7719, allocations: 24 kB / 0.8828 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.7745, allocations: 1.375 MB / 0.8841 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.7747, allocations: 115.6 kB / 0.8842 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.775, allocations: 179.1 kB / 0.8844 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.7768, allocations: 0.9173 MB / 0.8853 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7768, allocations: 0 / 0.8853 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7768, allocations: 3.938 kB / 0.8853 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.7768, allocations: 4 kB / 0.8853 GB, free: 11.32 MB / 0.6544 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.001206/0.778, allocations: 0.6329 MB / 0.8859 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.7781, allocations: 12.03 kB / 0.8859 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.803e-05/0.7782, allocations: 62.53 kB / 0.886 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.7792, allocations: 135.6 kB / 0.8861 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.7798, allocations: 275.6 kB / 0.8864 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-05/0.7799, allocations: 72.06 kB / 0.8864 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.194e-05/0.78, allocations: 28 kB / 0.8865 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.7806, allocations: 375.2 kB / 0.8868 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.7807, allocations: 0 / 0.8868 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.7807, allocations: 12 kB / 0.8868 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.7807, allocations: 7.938 kB / 0.8868 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.7812, allocations: 273.8 kB / 0.8871 GB, free: 9.363 MB / 0.6544 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.002098/0.7833, allocations: 1.458 MB / 0.8885 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004082/0.7838, allocations: 186.5 kB / 0.8887 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.784, allocations: 108.8 kB / 0.8888 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007821/0.7848, allocations: 139.8 kB / 0.8889 GB, free: 7.348 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.7848, allocations: 34.56 kB / 0.889 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.7848, allocations: 0 / 0.889 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0009599/0.7857, allocations: 362.6 kB / 0.8893 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.7858, allocations: 59.41 kB / 0.8894 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.7862, allocations: 312.5 kB / 0.8897 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.7862, allocations: 25.7 kB / 0.8897 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.7863, allocations: 184.4 kB / 0.8899 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.7864, allocations: 59.53 kB / 0.8899 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.7865, allocations: 45.66 kB / 0.89 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.7867, allocations: 342.8 kB / 0.8903 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.7869, allocations: 83.92 kB / 0.8904 GB, free: 5.809 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.7871, allocations: 149.9 kB / 0.8905 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.7876, allocations: 239.6 kB / 0.8907 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7876, allocations: 0 / 0.8907 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006101/0.7882, allocations: 281.2 kB / 0.891 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.7882, allocations: 8 kB / 0.891 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7882, allocations: 0 / 0.891 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.7882, allocations: 4 kB / 0.891 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.7885, allocations: 48.09 kB / 0.8911 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7885, allocations: 0 / 0.8911 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.7887, allocations: 35.77 kB / 0.8911 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.7887, allocations: 12.05 kB / 0.8911 GB, free: 5 MB / 0.6544 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.0001764/0.7889, allocations: 153.7 kB / 0.8913 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.789, allocations: 31.8 kB / 0.8913 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007172/0.7897, allocations: 316.3 kB / 0.8916 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7897, allocations: 0 / 0.8916 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.7897, allocations: 7.984 kB / 0.8916 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7897, allocations: 0 / 0.8916 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.7912, allocations: 0.7762 MB / 0.8924 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.7912, allocations: 4 kB / 0.8924 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.7914, allocations: 45.53 kB / 0.8924 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.7914, allocations: 0 / 0.8924 GB, free: 3.598 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.7914, allocations: 11.94 kB / 0.8924 GB, free: 3.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.7914, allocations: 8.219 kB / 0.8924 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7914, allocations: 4 kB / 0.8924 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006419/0.792, allocations: 395.3 kB / 0.8928 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.7922, allocations: 71.62 kB / 0.8929 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.7922, allocations: 4 kB / 0.8929 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.7925, allocations: 15.98 kB / 0.8929 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.7925, allocations: 23.91 kB / 0.8929 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.7926, allocations: 8 kB / 0.8929 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002478/0.7928, allocations: 227.1 kB / 0.8931 GB, free: 2.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7928, allocations: 3.938 kB / 0.8931 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005301/0.7933, allocations: 123.7 kB / 0.8933 GB, free: 2.688 MB / 0.6544 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.001319/0.7946, allocations: 1.034 MB / 0.8943 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005078/0.7952, allocations: 215.7 kB / 0.8945 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7952, allocations: 0 / 0.8945 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.7954, allocations: 115.8 kB / 0.8946 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008396/0.7962, allocations: 166.2 kB / 0.8947 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004438/0.8007, allocations: 3.067 MB / 0.8977 GB, free: 13.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.8012, allocations: 0.7834 MB / 0.8985 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002918/0.8014, allocations: 78.88 kB / 0.8986 GB, free: 13.02 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.8016, allocations: 103.4 kB / 0.8987 GB, free: 12.91 MB / 0.67 GB Notification: Performance of SimCode: time 7.62e-07/0.8016, allocations: 0 / 0.8987 GB, free: 12.91 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.8455, allocations: 10.72 MB / 0.9092 GB, free: 2.414 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.25, allocations: 9.031 kB / 0.9092 GB, free: 2.414 MB / 0.67 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.70720580406487] Failed to read output from testmodel.py, exit status != 0: 12.35834493697621 12.384933673 11.603384997 Calling exit ...