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.0007528/0.0007528, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007659/0.0007659, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9199/0.9199, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7148/0.7148, allocations: 154.6 MB / 413.8 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.285e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4516/0.4516, allocations: 149.5 MB / 0.7641 GB, free: 7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005572/0.4572, allocations: 6.537 MB / 0.7705 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.4575, allocations: 16.84 kB / 0.7705 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.458, allocations: 177.1 kB / 0.7707 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00249/0.4605, allocations: 1.316 MB / 0.7719 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.4619, allocations: 0.723 MB / 0.7727 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0009102/0.4629, allocations: 0.7545 MB / 0.7734 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.4633, allocations: 236.5 kB / 0.7736 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.4647, allocations: 0.8472 MB / 0.7744 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007107/0.4654, allocations: 416.3 kB / 0.7748 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.4654, allocations: 25.56 kB / 0.7749 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.467, allocations: 1.052 MB / 0.7759 GB, free: 132 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.4672, allocations: 124.1 kB / 0.776 GB, free: 72 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.4673, allocations: 124.2 kB / 0.7761 GB, free: 24 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.4685, allocations: 0.924 MB / 0.777 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4685, allocations: 0.9375 kB / 0.777 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4685, allocations: 0 / 0.777 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.4685, allocations: 1.062 kB / 0.777 GB, free: 15.72 MB / 0.6511 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.0009911/0.4695, allocations: 0.6331 MB / 0.7777 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.4696, allocations: 13.72 kB / 0.7777 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.097e-05/0.4696, allocations: 61.84 kB / 0.7777 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005951/0.4702, allocations: 130 kB / 0.7778 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.4707, allocations: 275 kB / 0.7781 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.712e-05/0.4707, allocations: 83 kB / 0.7782 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.4708, allocations: 25.38 kB / 0.7782 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.4713, allocations: 393.2 kB / 0.7786 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4713, allocations: 0 / 0.7786 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.4713, allocations: 11.44 kB / 0.7786 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.4713, allocations: 6.938 kB / 0.7786 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.4716, allocations: 275 kB / 0.7789 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/0.4729, allocations: 1.141 MB / 0.78 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.4732, allocations: 182.1 kB / 0.7802 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.4734, allocations: 114.3 kB / 0.7803 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004098/0.4738, allocations: 143.8 kB / 0.7804 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.4738, allocations: 39.31 kB / 0.7804 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 1.042e-06/0.4738, allocations: 0 / 0.7804 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0006152/0.4744, allocations: 360.2 kB / 0.7808 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.4745, allocations: 53.47 kB / 0.7808 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.4747, allocations: 315.6 kB / 0.7811 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.4747, allocations: 31.7 kB / 0.7812 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.4748, allocations: 194.6 kB / 0.7813 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.4749, allocations: 49.3 kB / 0.7814 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.4749, allocations: 44.81 kB / 0.7814 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/0.475, allocations: 338.4 kB / 0.7818 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.4752, allocations: 89.25 kB / 0.7818 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4753, allocations: 221 kB / 0.7821 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.4756, allocations: 243.1 kB / 0.7823 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.4756, allocations: 1.625 kB / 0.7823 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003572/0.476, allocations: 286.5 kB / 0.7826 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.476, allocations: 10.34 kB / 0.7826 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.476, allocations: 5.266 kB / 0.7826 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.476, allocations: 2.625 kB / 0.7826 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.4761, allocations: 42.28 kB / 0.7826 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.4761, allocations: 2.156 kB / 0.7826 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.4762, allocations: 33.89 kB / 0.7827 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.4763, allocations: 12.53 kB / 0.7827 GB, free: 12.17 MB / 0.6511 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.0001104/0.4764, allocations: 151.2 kB / 0.7828 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.4764, allocations: 37.3 kB / 0.7828 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000425/0.4769, allocations: 317.3 kB / 0.7832 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4769, allocations: 2.562 kB / 0.7832 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4769, allocations: 0 / 0.7832 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4769, allocations: 3.484 kB / 0.7832 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008295/0.4777, allocations: 0.7529 MB / 0.7839 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4777, allocations: 2.531 kB / 0.7839 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.4778, allocations: 37.88 kB / 0.7839 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4778, allocations: 2.188 kB / 0.7839 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.4778, allocations: 8.719 kB / 0.7839 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4778, allocations: 2.469 kB / 0.7839 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4778, allocations: 5.812 kB / 0.7839 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.4782, allocations: 399.2 kB / 0.7843 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/0.4783, allocations: 61.88 kB / 0.7844 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.4783, allocations: 2.188 kB / 0.7844 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.4784, allocations: 16.62 kB / 0.7844 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.4785, allocations: 30.77 kB / 0.7844 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.4785, allocations: 13.89 kB / 0.7844 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001616/0.4787, allocations: 226.4 kB / 0.7847 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.4787, allocations: 4 kB / 0.7847 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003836/0.479, allocations: 119.5 kB / 0.7848 GB, free: 10.94 MB / 0.6511 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.0008396/0.4799, allocations: 1.047 MB / 0.7858 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003161/0.4802, allocations: 217.6 kB / 0.786 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4802, allocations: 1.281 kB / 0.786 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.4803, allocations: 109 kB / 0.7861 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.4809, allocations: 161 kB / 0.7863 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.4837, allocations: 3.05 MB / 0.7893 GB, free: 8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.4838, allocations: 184.8 kB / 0.7894 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.484, allocations: 84.98 kB / 0.7895 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.4841, allocations: 105 kB / 0.7896 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of SimCode: time 5.41e-07/0.4841, allocations: 0 / 0.7896 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.5078, allocations: 11.82 MB / 0.8012 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/7.347, allocations: 6.656 kB / 0.8012 GB, free: 3.254 MB / 0.6511 GB " [Timeout remaining time 653] (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: 10.09243991971016] Failed to read output from testmodel.py, exit status != 0: 7.434960641898215 7.445339278 6.974615962 Calling exit ...