Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.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.0009566/0.0009566, 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.0009083/0.0009083, 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.8723/0.8723, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7194/0.7194, 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.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.76e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4127/0.4128, allocations: 155.3 MB / 0.7697 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.008279/0.4211, allocations: 7.986 MB / 0.7775 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008921/0.4219, allocations: 33.66 kB / 0.7776 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0008717/0.4228, allocations: 313.3 kB / 0.7779 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0008992/0.4237, allocations: 328.9 kB / 0.7782 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.425, allocations: 460.7 kB / 0.7786 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.4266, allocations: 1.149 MB / 0.7797 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008448/0.4275, allocations: 452.9 kB / 0.7802 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005544/0.433, allocations: 2.254 MB / 0.7824 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006098/0.4336, allocations: 314.8 kB / 0.7827 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 9.323e-05/0.4337, allocations: 43.53 kB / 0.7827 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.434, allocations: 81.64 kB / 0.7828 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.4342, allocations: 280 kB / 0.7831 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.4345, allocations: 187.7 kB / 0.7832 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.4352, allocations: 0.6365 MB / 0.7839 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4352, allocations: 1 kB / 0.7839 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4352, allocations: 3.938 kB / 0.7839 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.481e-05/0.4352, allocations: 3.938 kB / 0.7839 GB, free: 10.82 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.0009549/0.4362, allocations: 0.7482 MB / 0.7846 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4362, allocations: 13.56 kB / 0.7846 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.101e-05/0.4363, allocations: 95.55 kB / 0.7847 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.4364, allocations: 72.89 kB / 0.7848 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/0.4369, allocations: 379.1 kB / 0.7851 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.437, allocations: 39.44 kB / 0.7852 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.437, allocations: 54.89 kB / 0.7852 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.4378, allocations: 0.6985 MB / 0.7859 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.4378, allocations: 5.406 kB / 0.7859 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.4378, allocations: 27 kB / 0.7859 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.4379, allocations: 30.42 kB / 0.786 GB, free: 9.438 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004857/0.4384, allocations: 372.6 kB / 0.7863 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.4403, allocations: 3.07 MB / 0.7893 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4405, allocations: 217.8 kB / 0.7895 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.4406, allocations: 130.2 kB / 0.7897 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.4407, allocations: 4.906 kB / 0.7897 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.4407, allocations: 49.12 kB / 0.7897 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 2.054e-06/0.4407, allocations: 336 / 0.7897 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004786/0.4412, allocations: 251.3 kB / 0.7899 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/0.4413, allocations: 294.3 kB / 0.7902 GB, free: 5.809 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.4419, allocations: 0.6892 MB / 0.7909 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.4419, allocations: 28.33 kB / 0.7909 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.4421, allocations: 273.8 kB / 0.7912 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.4421, allocations: 30.38 kB / 0.7912 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.4421, allocations: 31.19 kB / 0.7912 GB, free: 5.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4423, allocations: 369.3 kB / 0.7916 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.4424, allocations: 36.16 kB / 0.7916 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.4425, allocations: 232.5 kB / 0.7919 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.4427, allocations: 123.4 kB / 0.792 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4427, allocations: 0 / 0.792 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002432/0.4429, allocations: 198.6 kB / 0.7922 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4429, allocations: 5.188 kB / 0.7922 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4429, allocations: 4 kB / 0.7922 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4429, allocations: 1.5 kB / 0.7922 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.4431, allocations: 43.28 kB / 0.7922 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4431, allocations: 9.25 kB / 0.7922 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.4433, allocations: 59.55 kB / 0.7923 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.4433, allocations: 7.125 kB / 0.7923 GB, free: 4.445 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0001742/0.4435, allocations: 199.8 kB / 0.7925 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.4436, allocations: 67.22 kB / 0.7925 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.645e-05/0.4437, allocations: 64.91 kB / 0.7926 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4437, allocations: 2.75 kB / 0.7926 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.4437, allocations: 6.688 kB / 0.7926 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4437, allocations: 2.75 kB / 0.7926 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.4447, allocations: 1.24 MB / 0.7938 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4447, allocations: 2.75 kB / 0.7938 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.4448, allocations: 39.08 kB / 0.7939 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4448, allocations: 4.125 kB / 0.7939 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.4449, allocations: 2.75 kB / 0.7939 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.4449, allocations: 10.97 kB / 0.7939 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4449, allocations: 2.75 kB / 0.7939 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.4451, allocations: 334 kB / 0.7942 GB, free: 2.902 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.4452, allocations: 74.39 kB / 0.7943 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.4453, allocations: 10.3 kB / 0.7943 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.626e-05/0.4453, allocations: 8.594 kB / 0.7943 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.4454, allocations: 22.8 kB / 0.7943 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.4454, allocations: 12.09 kB / 0.7943 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004314/0.4458, allocations: 0.4939 MB / 0.7948 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4458, allocations: 0 / 0.7948 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000319/0.4461, allocations: 82.11 kB / 0.7949 GB, free: 2.625 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (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.0005393/0.4467, allocations: 0.8993 MB / 0.7958 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.4469, allocations: 107 kB / 0.7959 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4469, allocations: 0 / 0.7959 GB, free: 1.793 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.756e-05/0.447, allocations: 65.14 kB / 0.7959 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.4478, allocations: 287 kB / 0.7962 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004111/0.4519, allocations: 4.463 MB / 0.8006 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.4521, allocations: 311.9 kB / 0.8009 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002634/0.4524, allocations: 103.9 kB / 0.801 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.4525, allocations: 175.4 kB / 0.8011 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of SimCode: time 1.452e-06/0.4525, allocations: 0 / 0.8011 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.4844, allocations: 15.25 MB / 0.816 GB, free: 8.098 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.29/7.774, allocations: 15.94 kB / 0.816 GB, free: 8.094 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.559777423739433] Failed to read output from testmodel.py, exit status != 0: 7.862964163534343 7.87661811 7.438273424 Calling exit ...