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.0008282/0.0008282, 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.0009048/0.0009048, 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.8956/0.8956, 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.7121/0.7121, allocations: 154.6 MB / 413.8 MB, free: 0.7891 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.525e-06/2.525e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.731e-05, allocations: 5.453 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.3999/0.3999, allocations: 155.3 MB / 0.7697 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005938/0.4058, allocations: 7.986 MB / 0.7775 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.4061, allocations: 31.47 kB / 0.7776 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0005428/0.4066, allocations: 312.7 kB / 0.7779 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0004813/0.4071, allocations: 342.5 kB / 0.7782 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.4079, allocations: 456.9 kB / 0.7786 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0009019/0.4088, allocations: 1.146 MB / 0.7797 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.4093, allocations: 453.5 kB / 0.7802 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00322/0.4125, allocations: 2.253 MB / 0.7824 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.4129, allocations: 314.1 kB / 0.7827 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.4129, allocations: 44.59 kB / 0.7827 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.4131, allocations: 85.42 kB / 0.7828 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.4133, allocations: 278.7 kB / 0.7831 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.4134, allocations: 188.4 kB / 0.7832 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.414, allocations: 0.636 MB / 0.7839 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.414, allocations: 0 / 0.7839 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/0.414, allocations: 0 / 0.7839 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.414, allocations: 1.406 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.0007805/0.4148, allocations: 0.7522 MB / 0.7846 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4148, allocations: 10.12 kB / 0.7846 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.078e-05/0.4149, allocations: 100.9 kB / 0.7847 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.532e-05/0.415, allocations: 71.8 kB / 0.7848 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.4155, allocations: 378.8 kB / 0.7851 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.4155, allocations: 44.73 kB / 0.7852 GB, free: 9.887 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.4155, allocations: 50.19 kB / 0.7852 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007076/0.4163, allocations: 0.7017 MB / 0.7859 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4163, allocations: 5.031 kB / 0.7859 GB, free: 9.453 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.4163, allocations: 26.84 kB / 0.7859 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.4163, allocations: 28.17 kB / 0.786 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.4168, allocations: 376.5 kB / 0.7863 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.4185, allocations: 3.064 MB / 0.7893 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.4187, allocations: 221.4 kB / 0.7895 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.4188, allocations: 128.8 kB / 0.7897 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.4188, allocations: 4.125 kB / 0.7897 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.4188, allocations: 46.39 kB / 0.7897 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.4188, allocations: 1.125 kB / 0.7897 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004166/0.4192, allocations: 249.5 kB / 0.7899 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.293e-05/0.4193, allocations: 297.7 kB / 0.7902 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.4198, allocations: 0.6864 MB / 0.7909 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.4199, allocations: 27.08 kB / 0.7909 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.42, allocations: 274 kB / 0.7912 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.42, allocations: 27.88 kB / 0.7912 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.4201, allocations: 38.5 kB / 0.7912 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4202, allocations: 364.3 kB / 0.7916 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.9e-05/0.4202, allocations: 41.23 kB / 0.7916 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.4204, allocations: 226.2 kB / 0.7919 GB, free: 4.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4205, allocations: 125.9 kB / 0.792 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4205, allocations: 1.375 kB / 0.792 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002145/0.4207, allocations: 195.5 kB / 0.7922 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4207, allocations: 6.281 kB / 0.7922 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.4207, allocations: 1.781 kB / 0.7922 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4208, allocations: 2.688 kB / 0.7922 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.4209, allocations: 42.19 kB / 0.7922 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4209, allocations: 5.531 kB / 0.7922 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.421, allocations: 64.33 kB / 0.7923 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.421, allocations: 6.438 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.0001505/0.4212, allocations: 205.8 kB / 0.7925 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.4213, allocations: 64.36 kB / 0.7925 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.39e-05/0.4214, allocations: 62.11 kB / 0.7926 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4214, allocations: 3.656 kB / 0.7926 GB, free: 4.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4214, allocations: 6.812 kB / 0.7926 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4214, allocations: 6.359 kB / 0.7926 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008751/0.4222, allocations: 1.241 MB / 0.7938 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4222, allocations: 2.375 kB / 0.7938 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.4223, allocations: 43.38 kB / 0.7939 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.4223, allocations: 3.969 kB / 0.7939 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.4223, allocations: 6.766 kB / 0.7939 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4224, allocations: 9.734 kB / 0.7939 GB, free: 3.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4224, allocations: 6.656 kB / 0.7939 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.4226, allocations: 326.4 kB / 0.7942 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.233e-05/0.4227, allocations: 80 kB / 0.7943 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.4227, allocations: 6.188 kB / 0.7943 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.4228, allocations: 8.031 kB / 0.7943 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.4228, allocations: 21.83 kB / 0.7943 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.4228, allocations: 5.5 kB / 0.7943 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003601/0.4232, allocations: 0.4968 MB / 0.7948 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.4232, allocations: 1.375 kB / 0.7948 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002518/0.4234, allocations: 84.59 kB / 0.7949 GB, free: 2.617 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.0004669/0.4239, allocations: 0.891 MB / 0.7958 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.4241, allocations: 110.9 kB / 0.7959 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4241, allocations: 0 / 0.7959 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.382e-05/0.4241, allocations: 61.48 kB / 0.7959 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.4249, allocations: 285 kB / 0.7962 GB, free: 1.699 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.4281, allocations: 4.467 MB / 0.8006 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.4283, allocations: 309.5 kB / 0.8009 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.4284, allocations: 102.8 kB / 0.801 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.4286, allocations: 175.8 kB / 0.8011 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of SimCode: time 5.51e-07/0.4286, allocations: 0 / 0.8011 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02193/0.4505, allocations: 15.25 MB / 0.816 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.706, allocations: 12.59 kB / 0.816 GB, free: 8.082 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.34149828273803] Failed to read output from testmodel.py, exit status != 0: 7.7924479227513075 7.803001954 7.387173077 Calling exit ...