Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.0007783/0.0007783, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008427/0.0008427, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.9093/0.9093, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7283/0.7283, allocations: 154.6 MB / 413.8 MB, free: 0.8242 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.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.306e-05, allocations: 6 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4175/0.4175, allocations: 143.9 MB / 0.7586 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.4219, allocations: 4.23 MB / 0.7628 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004705/0.4224, allocations: 13.44 kB / 0.7628 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.4228, allocations: 123.3 kB / 0.7629 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.4242, allocations: 0.5782 MB / 0.7634 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.4263, allocations: 0.844 MB / 0.7643 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008659/0.4272, allocations: 0.5788 MB / 0.7648 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003559/0.4275, allocations: 176.3 kB / 0.765 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.4292, allocations: 0.7431 MB / 0.7657 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.4298, allocations: 286.3 kB / 0.766 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.4298, allocations: 17.78 kB / 0.766 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.4315, allocations: 0.8699 MB / 0.7669 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.4317, allocations: 91.05 kB / 0.767 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.4318, allocations: 85.64 kB / 0.767 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.4334, allocations: 0.7334 MB / 0.7678 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4334, allocations: 1.75 kB / 0.7678 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4334, allocations: 0 / 0.7678 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.4334, allocations: 0 / 0.7678 GB, free: 5.727 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008911/0.4343, allocations: 0.5244 MB / 0.7683 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4344, allocations: 9.625 kB / 0.7683 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.4344, allocations: 53.8 kB / 0.7683 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004384/0.4349, allocations: 85.05 kB / 0.7684 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.4352, allocations: 245 kB / 0.7686 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4353, allocations: 12.91 kB / 0.7687 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.4353, allocations: 21.55 kB / 0.7687 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.4357, allocations: 279.4 kB / 0.7689 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4357, allocations: 0.6094 kB / 0.7689 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.834e-05/0.4357, allocations: 6.562 kB / 0.7689 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4357, allocations: 12.19 kB / 0.769 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002951/0.436, allocations: 205.4 kB / 0.7692 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.4371, allocations: 1.166 MB / 0.7703 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.4373, allocations: 170.6 kB / 0.7705 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.4374, allocations: 110.4 kB / 0.7706 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.4378, allocations: 104.1 kB / 0.7707 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.4378, allocations: 36.02 kB / 0.7707 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 3.076e-06/0.4378, allocations: 0 / 0.7707 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.000549/0.4384, allocations: 278.1 kB / 0.771 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.4384, allocations: 157.5 kB / 0.7711 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.4386, allocations: 304 kB / 0.7714 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.4387, allocations: 27.53 kB / 0.7714 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.4387, allocations: 156 kB / 0.7716 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.4388, allocations: 40.97 kB / 0.7716 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.4388, allocations: 41.7 kB / 0.7717 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.498e-05/0.4389, allocations: 337.3 kB / 0.772 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.439, allocations: 69.55 kB / 0.772 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.4392, allocations: 246.8 kB / 0.7723 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.4394, allocations: 212.5 kB / 0.7725 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.4394, allocations: 0 / 0.7725 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003356/0.4398, allocations: 249.9 kB / 0.7727 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4398, allocations: 7.938 kB / 0.7727 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4398, allocations: 3.078 kB / 0.7727 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4398, allocations: 2.375 kB / 0.7727 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4399, allocations: 41.5 kB / 0.7728 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4399, allocations: 4.156 kB / 0.7728 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.4401, allocations: 33.97 kB / 0.7728 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.4401, allocations: 10.16 kB / 0.7728 GB, free: 2.094 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001/0.4402, allocations: 154.1 kB / 0.773 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.299e-05/0.4403, allocations: 28.77 kB / 0.773 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.4406, allocations: 184.6 kB / 0.7732 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.4406, allocations: 2.406 kB / 0.7732 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4406, allocations: 1.781 kB / 0.7732 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4406, allocations: 5.719 kB / 0.7732 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.4412, allocations: 0.8092 MB / 0.774 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4412, allocations: 2.266 kB / 0.774 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.4413, allocations: 34.72 kB / 0.774 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4413, allocations: 1.344 kB / 0.774 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4413, allocations: 3.141 kB / 0.774 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4413, allocations: 5.969 kB / 0.774 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4413, allocations: 1.938 kB / 0.774 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.4417, allocations: 337.2 kB / 0.7743 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.4417, allocations: 33.92 kB / 0.7744 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.4418, allocations: 4.703 kB / 0.7744 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.436e-05/0.4418, allocations: 15.09 kB / 0.7744 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.4419, allocations: 12.62 kB / 0.7744 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.4419, allocations: 4.344 kB / 0.7744 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001775/0.4421, allocations: 238 kB / 0.7746 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4421, allocations: 0 / 0.7746 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005477/0.4426, allocations: 95.89 kB / 0.7747 GB, free: 0.7188 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.00115/0.4438, allocations: 0.9848 MB / 0.7757 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.4442, allocations: 153.3 kB / 0.7758 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4442, allocations: 1.125 kB / 0.7758 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.4443, allocations: 56.86 kB / 0.7759 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/0.4449, allocations: 138.3 kB / 0.776 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.448, allocations: 2.745 MB / 0.7787 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.4481, allocations: 155.5 kB / 0.7788 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002154/0.4483, allocations: 67.31 kB / 0.7789 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4484, allocations: 83.89 kB / 0.779 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/0.4484, allocations: 0 / 0.779 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.4754, allocations: 9.775 MB / 0.7885 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.14/7.615, allocations: 6.875 kB / 0.7885 GB, free: 11.76 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.350767611525953] Failed to read output from testmodel.py, exit status != 0: 7.700233223848045 7.706881179 7.271669835 Calling exit ...