Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008226/0.0008226, 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.0008541/0.0008541, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8889/0.8889, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7084/0.7084, allocations: 154.6 MB / 413.7 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.615e-05, allocations: 5.672 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.4096/0.4096, allocations: 155.3 MB / 0.7697 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007193/0.4168, allocations: 7.988 MB / 0.7775 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004519/0.4173, allocations: 33.12 kB / 0.7775 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0006971/0.418, allocations: 313.1 kB / 0.7778 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.4185, allocations: 330.1 kB / 0.7781 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009198/0.4195, allocations: 460.2 kB / 0.7786 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0009035/0.4204, allocations: 1.153 MB / 0.7797 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005475/0.4209, allocations: 445.7 kB / 0.7801 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/0.4243, allocations: 2.263 MB / 0.7823 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.4246, allocations: 307 kB / 0.7826 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.635e-05/0.4247, allocations: 38.78 kB / 0.7826 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.4249, allocations: 85.67 kB / 0.7827 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.425, allocations: 274.5 kB / 0.783 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.4252, allocations: 192.9 kB / 0.7832 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.4257, allocations: 0.6363 MB / 0.7838 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4257, allocations: 4 kB / 0.7838 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4257, allocations: 0 / 0.7838 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.4257, allocations: 0 / 0.7838 GB, free: 10.98 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.0007535/0.4265, allocations: 0.7575 MB / 0.7845 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.4265, allocations: 11 kB / 0.7846 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.786e-05/0.4266, allocations: 97.75 kB / 0.7846 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.4267, allocations: 72.8 kB / 0.7847 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.4272, allocations: 383.1 kB / 0.7851 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.4272, allocations: 39.09 kB / 0.7851 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.4273, allocations: 55.39 kB / 0.7852 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.428, allocations: 0.6989 MB / 0.7859 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.428, allocations: 5.375 kB / 0.7859 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.428, allocations: 28.5 kB / 0.7859 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.4281, allocations: 28.72 kB / 0.7859 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.4285, allocations: 378.9 kB / 0.7863 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/0.4302, allocations: 3.06 MB / 0.7893 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.4304, allocations: 218.1 kB / 0.7895 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.4305, allocations: 129.1 kB / 0.7896 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.4305, allocations: 6.469 kB / 0.7896 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.4305, allocations: 44.75 kB / 0.7896 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.432e-06/0.4305, allocations: 1.094 kB / 0.7896 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0004377/0.431, allocations: 249 kB / 0.7899 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.4311, allocations: 298.3 kB / 0.7902 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.4317, allocations: 0.6837 MB / 0.7908 GB, free: 5.684 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.4317, allocations: 28.02 kB / 0.7909 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4319, allocations: 277.3 kB / 0.7911 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.4319, allocations: 35.11 kB / 0.7912 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.432, allocations: 32.02 kB / 0.7912 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4321, allocations: 368.4 kB / 0.7915 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.4322, allocations: 37.69 kB / 0.7916 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.4323, allocations: 225.5 kB / 0.7918 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.4325, allocations: 127.2 kB / 0.7919 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4325, allocations: 3.625 kB / 0.7919 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002176/0.4327, allocations: 193.1 kB / 0.7921 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4327, allocations: 10.02 kB / 0.7921 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4327, allocations: 1.375 kB / 0.7921 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4327, allocations: 1.375 kB / 0.7921 GB, free: 4.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4328, allocations: 42.69 kB / 0.7922 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.4328, allocations: 9.25 kB / 0.7922 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.433, allocations: 62.17 kB / 0.7922 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.433, allocations: 5.688 kB / 0.7922 GB, free: 4.598 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.0001448/0.4331, allocations: 210.5 kB / 0.7924 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4332, allocations: 68.42 kB / 0.7925 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.4333, allocations: 58.09 kB / 0.7925 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4333, allocations: 2.75 kB / 0.7926 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4333, allocations: 8.062 kB / 0.7926 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.4333, allocations: 5.188 kB / 0.7926 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.4342, allocations: 1.234 MB / 0.7938 GB, free: 3.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4342, allocations: 7.031 kB / 0.7938 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.141e-05/0.4343, allocations: 39.03 kB / 0.7938 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.4343, allocations: 2.75 kB / 0.7938 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.4343, allocations: 6.75 kB / 0.7938 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4343, allocations: 8.062 kB / 0.7938 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4343, allocations: 5.047 kB / 0.7938 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.4346, allocations: 330.8 kB / 0.7941 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.4347, allocations: 78.67 kB / 0.7942 GB, free: 3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.4347, allocations: 6.562 kB / 0.7942 GB, free: 3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.4348, allocations: 7.609 kB / 0.7942 GB, free: 3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.4348, allocations: 22.58 kB / 0.7943 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.4348, allocations: 3.844 kB / 0.7943 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003993/0.4352, allocations: 0.4941 MB / 0.7947 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.4352, allocations: 1.406 kB / 0.7947 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002647/0.4355, allocations: 81.86 kB / 0.7948 GB, free: 2.777 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.0005388/0.436, allocations: 0.8923 MB / 0.7957 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.4362, allocations: 106.2 kB / 0.7958 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4362, allocations: 384 / 0.7958 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.652e-05/0.4363, allocations: 65.94 kB / 0.7959 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008265/0.4371, allocations: 291 kB / 0.7961 GB, free: 1.859 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.4407, allocations: 4.463 MB / 0.8005 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.4409, allocations: 314.2 kB / 0.8008 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000172/0.4411, allocations: 107.3 kB / 0.8009 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.4412, allocations: 174.7 kB / 0.8011 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of SimCode: time 8.92e-07/0.4412, allocations: 0 / 0.8011 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.4687, allocations: 15.25 MB / 0.816 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/7.682, allocations: 5.031 kB / 0.816 GB, free: 8.172 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.432727366685867] Failed to read output from testmodel.py, exit status != 0: 7.770954980514944 7.778267353 7.350840763 Calling exit ...