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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 108.2 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8458/0.8458, allocations: 134 MB / 436.6 MB, free: 1.285 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001823/0.001823, allocations: 63.05 kB / 0.6051 GB, free: 15.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1615, allocations: 84.67 MB / 0.6878 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5493/0.7108, allocations: 176.6 MB / 0.8602 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.7213, allocations: 8.744 MB / 0.8688 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.7219, allocations: 20.56 kB / 0.8688 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008028/0.7227, allocations: 305.4 kB / 0.8691 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0007921/0.7235, allocations: 326.6 kB / 0.8694 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.7245, allocations: 370.9 kB / 0.8697 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.7257, allocations: 1.146 MB / 0.8709 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007345/0.7265, allocations: 0.5061 MB / 0.8714 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/0.7311, allocations: 2.129 MB / 0.8734 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004824/0.7315, allocations: 382.3 kB / 0.8738 GB, free: 396 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.7316, allocations: 40 kB / 0.8738 GB, free: 356 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.7318, allocations: 87.94 kB / 0.8739 GB, free: 268 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.7321, allocations: 267.3 kB / 0.8742 GB, free: 0 / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.7324, allocations: 286.6 kB / 0.8745 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.7332, allocations: 0.6493 MB / 0.8751 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7332, allocations: 3.938 kB / 0.8751 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7332, allocations: 0 / 0.8751 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.7332, allocations: 0 / 0.8751 GB, free: 15.06 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.001067/0.7342, allocations: 0.8411 MB / 0.8759 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.7343, allocations: 12.03 kB / 0.8759 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.7344, allocations: 102.5 kB / 0.876 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.979e-05/0.7345, allocations: 67.58 kB / 0.8761 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.7352, allocations: 446.5 kB / 0.8765 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.7353, allocations: 41.25 kB / 0.8766 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.7353, allocations: 51.98 kB / 0.8766 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.7364, allocations: 0.7027 MB / 0.8773 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.7364, allocations: 11.88 kB / 0.8773 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.7364, allocations: 19.98 kB / 0.8773 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/0.7365, allocations: 35.98 kB / 0.8774 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000629/0.7371, allocations: 379.3 kB / 0.8777 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.74, allocations: 3.213 MB / 0.8809 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.7402, allocations: 214.1 kB / 0.8811 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.7404, allocations: 128.5 kB / 0.8812 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.7404, allocations: 4 kB / 0.8812 GB, free: 8.371 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.7405, allocations: 54.42 kB / 0.8812 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.7405, allocations: 0 / 0.8812 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0006828/0.7412, allocations: 254.1 kB / 0.8815 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/0.7413, allocations: 294.7 kB / 0.8818 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007774/0.7421, allocations: 0.6838 MB / 0.8824 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.7421, allocations: 29.7 kB / 0.8825 GB, free: 6.969 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.7424, allocations: 264.3 kB / 0.8827 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.7424, allocations: 36.02 kB / 0.8827 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.7425, allocations: 37.77 kB / 0.8828 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.7426, allocations: 366.8 kB / 0.8831 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.7427, allocations: 43.83 kB / 0.8832 GB, free: 6.219 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.7429, allocations: 96.73 kB / 0.8833 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.7431, allocations: 129 kB / 0.8834 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7432, allocations: 0 / 0.8834 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003611/0.7435, allocations: 193.1 kB / 0.8836 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.7435, allocations: 7.984 kB / 0.8836 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7435, allocations: 4 kB / 0.8836 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.7436, allocations: 0 / 0.8836 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.7438, allocations: 48.09 kB / 0.8836 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.7438, allocations: 7.984 kB / 0.8836 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.744, allocations: 51.52 kB / 0.8837 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.744, allocations: 7.984 kB / 0.8837 GB, free: 5.645 MB / 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.0002181/0.7442, allocations: 201.8 kB / 0.8839 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.7445, allocations: 63.56 kB / 0.8839 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.525e-05/0.7445, allocations: 60.31 kB / 0.884 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7445, allocations: 4 kB / 0.884 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7445, allocations: 8 kB / 0.884 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7446, allocations: 0 / 0.884 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.746, allocations: 1.308 MB / 0.8853 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.746, allocations: 0 / 0.8853 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.7462, allocations: 47.89 kB / 0.8853 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.7462, allocations: 7.984 kB / 0.8853 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.7462, allocations: 4 kB / 0.8853 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.7462, allocations: 4 kB / 0.8853 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.7462, allocations: 4.219 kB / 0.8854 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.7466, allocations: 342.9 kB / 0.8857 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.7468, allocations: 152.7 kB / 0.8858 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.7469, allocations: 4 kB / 0.8858 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.747, allocations: 11.98 kB / 0.8858 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.7471, allocations: 19.88 kB / 0.8859 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.7471, allocations: 8 kB / 0.8859 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005637/0.7477, allocations: 0.4951 MB / 0.8864 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7477, allocations: 0 / 0.8864 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000372/0.748, allocations: 79.94 kB / 0.8864 GB, free: 2.68 MB / 0.6387 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.0009975/0.749, allocations: 0.9229 MB / 0.8873 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.7493, allocations: 100.1 kB / 0.8874 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7494, allocations: 8.062 kB / 0.8874 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.7495, allocations: 63.83 kB / 0.8875 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.7507, allocations: 288.6 kB / 0.8878 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00561/0.7563, allocations: 4.455 MB / 0.8921 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.7569, allocations: 0.9011 MB / 0.893 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003424/0.7572, allocations: 108.6 kB / 0.8931 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.7574, allocations: 175.4 kB / 0.8933 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of SimCode: time 8.32e-07/0.7574, allocations: 0 / 0.8933 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/0.7971, allocations: 13.64 MB / 0.9066 GB, free: 14.07 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/9.272, allocations: 13.36 kB / 0.9066 GB, free: 14.07 MB / 0.67 GB " [Timeout remaining time 651] (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: 12.777255686931312] Failed to read output from testmodel.py, exit status != 0: 9.34805137803778 9.371329962 8.633824592 Calling exit ...