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.0008953/0.0008953, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008312/0.0008312, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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.9645/0.9645, allocations: 230.6 MB / 256 MB, free: 9.43 MB / 202.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.758/0.758, allocations: 203.8 MB / 0.5042 GB, free: 10.4 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 70.55 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4809, allocations: 102 MB / 0.8178 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1359/0.6168, allocations: 155.4 MB / 0.9695 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00577/0.6226, allocations: 8.025 MB / 0.9774 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.6229, allocations: 35.69 kB / 0.9774 GB, free: 1.652 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.6234, allocations: 305.7 kB / 0.9777 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004421/0.6238, allocations: 318.3 kB / 0.978 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.6245, allocations: 431.3 kB / 0.9784 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007558/0.6253, allocations: 1.164 MB / 0.9796 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004625/0.6258, allocations: 455.1 kB / 0.98 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.6283, allocations: 2.094 MB / 0.982 GB, free: 12.91 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002591/0.6285, allocations: 346.4 kB / 0.9824 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.6286, allocations: 40 kB / 0.9824 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.6287, allocations: 83.94 kB / 0.9825 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.6289, allocations: 275.2 kB / 0.9828 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.629, allocations: 222.9 kB / 0.983 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.6295, allocations: 0.6495 MB / 0.9836 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6295, allocations: 0 / 0.9836 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.504e-06/0.6295, allocations: 0 / 0.9836 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.6295, allocations: 0 / 0.9836 GB, free: 11.31 MB / 0.7605 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.0006915/0.6302, allocations: 0.7581 MB / 0.9843 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6302, allocations: 16.03 kB / 0.9844 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.858e-05/0.6303, allocations: 98.5 kB / 0.9844 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.6304, allocations: 71.52 kB / 0.9845 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.6308, allocations: 379.2 kB / 0.9849 GB, free: 9.93 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.6308, allocations: 41.31 kB / 0.9849 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.6309, allocations: 55.98 kB / 0.985 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006373/0.6315, allocations: 0.6988 MB / 0.9857 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.6315, allocations: 7.938 kB / 0.9857 GB, free: 9.047 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.6316, allocations: 31.92 kB / 0.9857 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.6316, allocations: 27.98 kB / 0.9857 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.632, allocations: 375.4 kB / 0.9861 GB, free: 8.621 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.6337, allocations: 3.071 MB / 0.9891 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.6339, allocations: 218 kB / 0.9893 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.634, allocations: 128.6 kB / 0.9894 GB, free: 4.949 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.634, allocations: 4 kB / 0.9894 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.634, allocations: 42.5 kB / 0.9894 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.634, allocations: 0 / 0.9894 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10): time 0.0003959/0.6344, allocations: 258 kB / 0.9897 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.517e-05/0.6345, allocations: 290.7 kB / 0.99 GB, free: 4.285 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.635, allocations: 0.6839 MB / 0.9906 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.635, allocations: 33.64 kB / 0.9907 GB, free: 3.551 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.6351, allocations: 272.2 kB / 0.9909 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.6352, allocations: 39.66 kB / 0.991 GB, free: 3.242 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.6352, allocations: 29.7 kB / 0.991 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.6353, allocations: 366.8 kB / 0.9913 GB, free: 2.84 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.6354, allocations: 40.08 kB / 0.9914 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.6355, allocations: 225.6 kB / 0.9916 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.6356, allocations: 125 kB / 0.9917 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6356, allocations: 0 / 0.9917 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001813/0.6358, allocations: 197.1 kB / 0.9919 GB, free: 2.191 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.6358, allocations: 11.94 kB / 0.9919 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6358, allocations: 0 / 0.9919 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.6358, allocations: 11.92 kB / 0.9919 GB, free: 2.168 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.636, allocations: 36.16 kB / 0.992 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.636, allocations: 4 kB / 0.992 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.6361, allocations: 59.56 kB / 0.992 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.6361, allocations: 19.97 kB / 0.992 GB, free: 2.051 MB / 0.7605 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.0001291/0.6362, allocations: 198.4 kB / 0.9922 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.6363, allocations: 67.56 kB / 0.9923 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.6364, allocations: 64.2 kB / 0.9924 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6364, allocations: 4 kB / 0.9924 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6364, allocations: 4 kB / 0.9924 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6364, allocations: 4 kB / 0.9924 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008269/0.6372, allocations: 1.237 MB / 0.9936 GB, free: 384 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.6372, allocations: 0 / 0.9936 GB, free: 384 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.171e-05/0.6373, allocations: 44 kB / 0.9936 GB, free: 340 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6373, allocations: 7.938 kB / 0.9936 GB, free: 332 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.6373, allocations: 8.281 kB / 0.9936 GB, free: 324 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6373, allocations: 8 kB / 0.9936 GB, free: 316 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6373, allocations: 0 / 0.9936 GB, free: 316 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.6376, allocations: 338.6 kB / 0.994 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.6376, allocations: 79.59 kB / 0.994 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.6377, allocations: 0 / 0.994 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.621e-05/0.6378, allocations: 11.98 kB / 0.9941 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.6378, allocations: 15.92 kB / 0.9941 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.6378, allocations: 12 kB / 0.9941 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003441/0.6381, allocations: 0.4912 MB / 0.9946 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.6381, allocations: 288 / 0.9946 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002327/0.6384, allocations: 87.89 kB / 0.9946 GB, free: 15.24 MB / 0.7761 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.000575/0.6389, allocations: 0.8873 MB / 0.9955 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.6391, allocations: 111.8 kB / 0.9956 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6391, allocations: 4 kB / 0.9956 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.118e-05/0.6392, allocations: 56.78 kB / 0.9957 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006858/0.6399, allocations: 271.1 kB / 0.9959 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.6431, allocations: 4.457 MB / 1 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.6433, allocations: 309.6 kB / 1.001 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000167/0.6435, allocations: 108.6 kB / 1.001 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.6436, allocations: 167.4 kB / 1.001 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of SimCode: time 9.01e-07/0.6436, allocations: 0 / 1.001 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02308/0.6667, allocations: 15.21 MB / 1.016 GB, free: 9.781 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.734/7.401, allocations: 5.672 kB / 1.016 GB, free: 9.781 MB / 0.7917 GB " [Timeout remaining time 653] (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.312372060026973] Failed to read output from testmodel.py, exit status != 0: 7.48307898035273 7.491188944 6.860036595 Calling exit ...