Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.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.0007918/0.0007918, 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.0008109/0.0008109, allocations: 169.9 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.8548/0.8548, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.6838/0.6838, allocations: 154.6 MB / 413.7 MB, free: 0.7812 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.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.6181 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.81e-05/2.001e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4255/0.4255, allocations: 142.2 MB / 0.757 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004188/0.4297, allocations: 4.184 MB / 0.7611 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.4301, allocations: 14.56 kB / 0.7611 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.4306, allocations: 131.1 kB / 0.7612 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0008754/0.4315, allocations: 352.4 kB / 0.7615 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008007/0.4323, allocations: 328.8 kB / 0.7618 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006367/0.4329, allocations: 0.563 MB / 0.7624 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.4332, allocations: 160.2 kB / 0.7625 GB, free: 8.184 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.4348, allocations: 0.7417 MB / 0.7633 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.4352, allocations: 174.2 kB / 0.7634 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.4353, allocations: 16.59 kB / 0.7634 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002565/0.4355, allocations: 78.25 kB / 0.7635 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.4356, allocations: 90.12 kB / 0.7636 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.4357, allocations: 78.64 kB / 0.7637 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.4362, allocations: 318.9 kB / 0.764 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4362, allocations: 0 / 0.764 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4362, allocations: 0 / 0.764 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.4362, allocations: 1.75 kB / 0.764 GB, free: 7.598 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007844/0.437, allocations: 473.5 kB / 0.7644 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.4371, allocations: 9.141 kB / 0.7645 GB, free: 7.215 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.4371, allocations: 52.53 kB / 0.7645 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.444e-05/0.4372, allocations: 34.77 kB / 0.7645 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.4375, allocations: 238 kB / 0.7648 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.4375, allocations: 13.25 kB / 0.7648 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.4376, allocations: 15.81 kB / 0.7648 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003354/0.4379, allocations: 259.2 kB / 0.765 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.4379, allocations: 1.5 kB / 0.765 GB, free: 6.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4379, allocations: 12.69 kB / 0.765 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4379, allocations: 5.219 kB / 0.7651 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.4382, allocations: 151.7 kB / 0.7652 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009579/0.4391, allocations: 1.294 MB / 0.7665 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4394, allocations: 181.7 kB / 0.7666 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.4395, allocations: 92.45 kB / 0.7667 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.4397, allocations: 41.12 kB / 0.7668 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.4397, allocations: 43.02 kB / 0.7668 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.196e-06/0.4397, allocations: 4 kB / 0.7668 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004324/0.4401, allocations: 203.4 kB / 0.767 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.4402, allocations: 188.3 kB / 0.7672 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.4404, allocations: 294 kB / 0.7675 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.4404, allocations: 31.45 kB / 0.7675 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.4405, allocations: 145.2 kB / 0.7676 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.4405, allocations: 37.95 kB / 0.7677 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.4406, allocations: 35.38 kB / 0.7677 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.4406, allocations: 336.9 kB / 0.768 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.4407, allocations: 46.55 kB / 0.7681 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.4408, allocations: 223.1 kB / 0.7683 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.441, allocations: 155.8 kB / 0.7684 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.441, allocations: 0 / 0.7684 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000232/0.4413, allocations: 197.4 kB / 0.7686 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4413, allocations: 7.094 kB / 0.7686 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4413, allocations: 6.344 kB / 0.7686 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.4413, allocations: 6.219 kB / 0.7686 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/0.4414, allocations: 32.62 kB / 0.7687 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.4414, allocations: 2.656 kB / 0.7687 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.4415, allocations: 26.72 kB / 0.7687 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.4415, allocations: 7.672 kB / 0.7687 GB, free: 3.828 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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 8.375e-05/0.4416, allocations: 144.1 kB / 0.7688 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.4417, allocations: 33.62 kB / 0.7689 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.4419, allocations: 127.2 kB / 0.769 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4419, allocations: 7.109 kB / 0.769 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.4419, allocations: 1.531 kB / 0.769 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.4419, allocations: 4.422 kB / 0.769 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.4425, allocations: 0.732 MB / 0.7697 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4425, allocations: 1.656 kB / 0.7697 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.502e-05/0.4426, allocations: 26.17 kB / 0.7697 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4426, allocations: 1.406 kB / 0.7697 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4426, allocations: 7.625 kB / 0.7698 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4426, allocations: 5.719 kB / 0.7698 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4426, allocations: 2.094 kB / 0.7698 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.4429, allocations: 343.4 kB / 0.7701 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.443, allocations: 31.09 kB / 0.7701 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.443, allocations: 7.203 kB / 0.7701 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.443, allocations: 11.11 kB / 0.7701 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.4431, allocations: 9.078 kB / 0.7701 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.4431, allocations: 3.719 kB / 0.7701 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002018/0.4433, allocations: 211.3 kB / 0.7704 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4433, allocations: 0 / 0.7704 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002908/0.4436, allocations: 59.36 kB / 0.7704 GB, free: 2.543 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0005462/0.4441, allocations: 0.9008 MB / 0.7713 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.4444, allocations: 117.7 kB / 0.7714 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.4444, allocations: 192 / 0.7714 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.4445, allocations: 62.39 kB / 0.7715 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.4449, allocations: 135.1 kB / 0.7716 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.4471, allocations: 2.579 MB / 0.7741 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.4472, allocations: 148.6 kB / 0.7742 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001536/0.4474, allocations: 55.78 kB / 0.7743 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.4475, allocations: 73.06 kB / 0.7744 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/0.4475, allocations: 0 / 0.7744 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.471, allocations: 7.945 MB / 0.7821 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.726, allocations: 4.469 kB / 0.7821 GB, free: 14.36 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_IDEAS_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.428038865327835] Failed to read output from testmodel.py, exit status != 0: 7.806728537194431 7.818140664 7.379857083 Calling exit ...