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.00173/0.00173, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002339/0.002339, allocations: 210.5 kB / 23.03 MB, free: 4.926 MB / 14.72 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 1.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8392/0.8392, allocations: 134 MB / 447.2 MB, free: 9.922 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",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.002768/0.002768, allocations: 65.86 kB / 0.6192 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1791, allocations: 85.91 MB / 0.7031 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5214/0.7005, allocations: 155.2 MB / 0.8547 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.7106, allocations: 7.996 MB / 0.8625 GB, free: 8 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.7111, allocations: 39.8 kB / 0.8626 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.7119, allocations: 309.7 kB / 0.8629 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0007042/0.7126, allocations: 322.4 kB / 0.8632 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009626/0.7136, allocations: 399.5 kB / 0.8635 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001244/0.7148, allocations: 1.176 MB / 0.8647 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000671/0.7155, allocations: 447.1 kB / 0.8651 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00468/0.7201, allocations: 2.086 MB / 0.8672 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.7207, allocations: 386.3 kB / 0.8675 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.165e-05/0.7208, allocations: 40 kB / 0.8676 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.721, allocations: 79.95 kB / 0.8676 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.7213, allocations: 271.2 kB / 0.8679 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002593/0.7215, allocations: 234.9 kB / 0.8681 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007445/0.7223, allocations: 0.6518 MB / 0.8688 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.7223, allocations: 3.984 kB / 0.8688 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.428e-06/0.7223, allocations: 4 kB / 0.8688 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.7223, allocations: 0 / 0.8688 GB, free: 9.598 MB / 0.6387 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.001056/0.7233, allocations: 0.7658 MB / 0.8695 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.7234, allocations: 12.03 kB / 0.8695 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.424e-05/0.7234, allocations: 17.31 kB / 0.8695 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.7236, allocations: 94.52 kB / 0.8696 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.7237, allocations: 77.95 kB / 0.8697 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006988/0.7244, allocations: 383.2 kB / 0.8701 GB, free: 8.195 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/0.7244, allocations: 45.23 kB / 0.8701 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.7245, allocations: 52 kB / 0.8702 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.7257, allocations: 0.7105 MB / 0.8709 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.7257, allocations: 3.938 kB / 0.8709 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.7257, allocations: 24 kB / 0.8709 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.509e-05/0.7258, allocations: 35.92 kB / 0.8709 GB, free: 7.242 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.7264, allocations: 372.4 kB / 0.8713 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.7292, allocations: 3.075 MB / 0.8743 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.7295, allocations: 218.1 kB / 0.8745 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.7297, allocations: 120.6 kB / 0.8746 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.7297, allocations: 7.938 kB / 0.8746 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.7297, allocations: 50.5 kB / 0.8747 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.7297, allocations: 3.938 kB / 0.8747 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0006832/0.7304, allocations: 246.1 kB / 0.8749 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001884/0.7306, allocations: 294.7 kB / 0.8752 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008051/0.7314, allocations: 0.6879 MB / 0.8759 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.7314, allocations: 29.7 kB / 0.8759 GB, free: 1.812 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.7317, allocations: 268.2 kB / 0.8761 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.7317, allocations: 31.73 kB / 0.8762 GB, free: 1.516 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.7318, allocations: 33.7 kB / 0.8762 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.732, allocations: 366.8 kB / 0.8765 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.7321, allocations: 31.97 kB / 0.8766 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.7323, allocations: 225.6 kB / 0.8768 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.7326, allocations: 133 kB / 0.8769 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7326, allocations: 0 / 0.8769 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000364/0.733, allocations: 206 kB / 0.8771 GB, free: 464 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.733, allocations: 4 kB / 0.8771 GB, free: 460 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.733, allocations: 4 kB / 0.8771 GB, free: 456 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.733, allocations: 0 / 0.8771 GB, free: 456 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.7332, allocations: 43.95 kB / 0.8772 GB, free: 412 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7332, allocations: 0 / 0.8772 GB, free: 412 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.7334, allocations: 59.5 kB / 0.8772 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.7334, allocations: 8.125 kB / 0.8772 GB, free: 344 kB / 0.6387 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.000223/0.7337, allocations: 209.6 kB / 0.8774 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.7339, allocations: 67.75 kB / 0.8775 GB, free: 56 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.734, allocations: 59.97 kB / 0.8776 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.734, allocations: 7.938 kB / 0.8776 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.734, allocations: 3.984 kB / 0.8776 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.734, allocations: 4 kB / 0.8776 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.7355, allocations: 1.241 MB / 0.8788 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7355, allocations: 7.938 kB / 0.8788 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.7357, allocations: 43.89 kB / 0.8788 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.7357, allocations: 4 kB / 0.8788 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7357, allocations: 4 kB / 0.8788 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.7357, allocations: 7.938 kB / 0.8788 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.7357, allocations: 4 kB / 0.8788 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.7362, allocations: 342.9 kB / 0.8792 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.7363, allocations: 71.59 kB / 0.8792 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/0.7364, allocations: 4 kB / 0.8792 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.7365, allocations: 11.94 kB / 0.8793 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.7366, allocations: 11.98 kB / 0.8793 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.7366, allocations: 4 kB / 0.8793 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006801/0.7373, allocations: 0.499 MB / 0.8798 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7373, allocations: 0 / 0.8798 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004105/0.7377, allocations: 87.89 kB / 0.8798 GB, free: 13.52 MB / 0.6544 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.0009719/0.7387, allocations: 0.8834 MB / 0.8807 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003532/0.739, allocations: 111.9 kB / 0.8808 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.739, allocations: 0 / 0.8808 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.7392, allocations: 59.83 kB / 0.8809 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.7405, allocations: 283.8 kB / 0.8811 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/0.7466, allocations: 4.465 MB / 0.8855 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.747, allocations: 309.7 kB / 0.8858 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000265/0.7473, allocations: 112.6 kB / 0.8859 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.7475, allocations: 171.4 kB / 0.8861 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.7475, allocations: 0 / 0.8861 GB, free: 6.922 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.7898, allocations: 14.73 MB / 0.9005 GB, free: 8.594 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.82, allocations: 8.766 kB / 0.9005 GB, free: 8.59 MB / 0.67 GB " [Timeout remaining time 647] (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: 16.57088361401111] Failed to read output from testmodel.py, exit status != 0: 12.984940857044421 13.001407293 12.275748034 Calling exit ...